https://bz.apache.org/bugzilla/show_bug.cgi?id=62353
Bug ID: 62353 Summary: 7.0.87: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String Product: Tomcat 7 Version: trunk Hardware: PC Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: knst.koli...@gmail.com Target Milestone: --- Created attachment 35912 --> https://bz.apache.org/bugzilla/attachment.cgi?id=35912&action=edit TEST-org.apache.catalina.startup.TestContextConfig.APR.txt Running unit tests for Tomcat 7.0.87 (release candidate) with Java 6. The following tests unexpectedly fail: TEST-org.apache.catalina.startup.TestContextConfig.APR.txt TEST-org.apache.catalina.startup.TestContextConfig.BIO.txt TEST-org.apache.catalina.startup.TestContextConfig.NIO.txt See attached log file. Tomcat fails to start in testBug54448and54450 test. Stacktrace: [[[ Caused by: java.lang.NoSuchMethodError: javax.annotation.Resource.lookup()Ljava/lang/String; at org.apache.catalina.startup.WebAnnotationSet.addResource(WebAnnotationSet.java:339) at org.apache.catalina.startup.WebAnnotationSet.loadFieldsAnnotation(WebAnnotationSet.java:274) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationServletAnnotations(WebAnnotationSet.java:135) at org.apache.catalina.startup.WebAnnotationSet.loadApplicationAnnotations(WebAnnotationSet.java:67) at org.apache.catalina.startup.ContextConfig.applicationAnnotationsConfig(ContextConfig.java:417) at org.apache.catalina.startup.ContextConfig.configureStart(ContextConfig.java:881) at org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.java:388) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117) at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5566) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) ]]] This is regression from code added in r1827367. -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org