NoClassDefFoundError: javax/transaction/Trans

Help
myte
2004-03-18
2004-03-23
  • myte

    myte - 2004-03-18

    I have followed the install guide ,but when I start tomcat5 ,exception founded as follows,would somebody tell me why,thanks: I used appfuse 1.4
    java.lang.NoClassDefFoundError: javax/transaction/TransactionManager
            at java.lang.Class.getDeclaredMethods0(Native Method)
            at java.lang.Class.privateGetDeclaredMethods(Class.java:1647)
            at java.lang.Class.getDeclaredMethods(Class.java:1131)
            at java.beans.Introspector$1.run(Introspector.java:1126)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.beans.Introspector.getPublicDeclaredMethods(Introspector.java:11
    24)
            at java.beans.Introspector.getTargetMethodInfo(Introspector.java:989)
            at java.beans.Introspector.getBeanInfo(Introspector.java:370)
            at java.beans.Introspector.getBeanInfo(Introspector.java:144)
            at org.springframework.beans.CachedIntrospectionResults.<init>(CachedInt
    rospectionResults.java:77)
            at org.springframework.beans.CachedIntrospectionResults.forClass(CachedI
    ntrospectionResults.java:51)
            at org.springframework.beans.BeanWrapperImpl.setWrappedInstance(BeanWrap
    perImpl.java:172)
            at org.springframework.beans.BeanWrapperImpl.<init>(BeanWrapperImpl.java
    :150)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.createBean(AbstractAutowireCapableBeanFactory.java:139)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    (AbstractBeanFactory.java:142)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.resolveReference(AbstractAutowireCapableBeanFactory.java:585)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.resolveValueIfNecessary(AbstractAutowireCapableBeanFactory.java:553)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:506)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.populateBean(AbstractAutowireCapableBeanFactory.java:361)
            at org.springframework.beans.factory.support.AbstractAutowireCapableBean
    Factory.createBean(AbstractAutowireCapableBeanFactory.java:150)
            at org.springframework.beans.factory.support.AbstractBeanFactory.getBean
    (AbstractBeanFactory.java:142)
            at org.springframework.beans.factory.support.DefaultListableBeanFactory.
    preInstantiateSingletons(DefaultListableBeanFactory.java:159)
            at org.springframework.context.support.AbstractApplicationContext.refres
    h(AbstractApplicationContext.java:268)
            at org.springframework.web.context.support.XmlWebApplicationContext.refr
    esh(XmlWebApplicationContext.java:111)
            at org.springframework.web.context.ContextLoader.createWebApplicationCon
    text(ContextLoader.java:139)
            at org.springframework.web.context.ContextLoader.initWebApplicationConte
    xt(ContextLoader.java:79)
            at org.springframework.web.context.ContextLoaderListener.contextInitiali
    zed(ContextLoaderListener.java:32)
            at org.apache.catalina.core.StandardContext.listenerStart(StandardContex
    t.java:3773)
            at org.apache.catalina.core.StandardContext.start(StandardContext.java:4
    270)
            at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
    .java:866)
            at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:85
    0)
            at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:638)

            at org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDe
    ployer.java:839)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
    a:252)
            at org.apache.commons.digester.SetNextRule.end(SetNextRule.java:256)
            at org.apache.commons.digester.Rule.end(Rule.java:276)
            at org.apache.commons.digester.Digester.endElement(Digester.java:1058)
            at org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester
    .java:123)
            at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source
    )
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(
    Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
            at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
    known Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
            at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
            at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
            at org.apache.commons.digester.Digester.parse(Digester.java:1567)
            at org.apache.catalina.core.StandardHostDeployer.install(StandardHostDep
    loyer.java:519)
            at org.apache.catalina.core.StandardHost.install(StandardHost.java:906)
            at org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
    ava:527)
            at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:472
    )
            at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1008)
            at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
    :394)
            at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
    eSupport.java:166)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1134)

            at org.apache.catalina.core.StandardHost.start(StandardHost.java:832)
            at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1126)

            at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:521
    )
            at org.apache.catalina.core.StandardService.start(StandardService.java:5
    19)
            at org.apache.catalina.core.StandardServer.start(StandardServer.java:234
    5)
            at org.apache.catalina.startup.Catalina.start(Catalina.java:594)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
            at java.lang.reflect.Method.invoke(Method.java:324)
            at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:297)
            at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:398)

     
    • Matt Raible

      Matt Raible - 2004-03-23

      Make sure jta.jar is in $CATALINA_HOME/common/lib.  Also, in the future, you'll probably get better support from AppFuse's new home: http://appfuse.dev.java.net.

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks