[ http://issues.ops4j.org/browse/PAXEXAM-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13183#action_13183 ]
Walter Treur commented on PAXEXAM-153: -------------------------------------- Hmm, The stacktrace from console log suggests that compendium services are missing. I'm not sure if they are needed by Pax Exam, but the definition files in pax runner 1.1 (used by exam 1.1) contained these service bundles. (at leas for felix) Pax exam 1.2 doesn't have these bundles included anymore. Look at the differences of the file /META-INF/platform-felix/definition-1.8.0.xml in http://repo1.maven.org/maven2/org/ops4j/pax/runner/pax-runner-no-jcl/1.1.1/pax-runner-no-jcl-1.1.1.jar and in http://repo1.maven.org/maven2/org/ops4j/pax/runner/pax-runner-no-jcl/1.2.0/pax-runner-no-jcl-1.2.0.jar > Unable to run my tests under 1.2.0 > ---------------------------------- > > Key: PAXEXAM-153 > URL: http://issues.ops4j.org/browse/PAXEXAM-153 > Project: Pax Exam > Issue Type: Bug > Affects Versions: 1.2.0 > Environment: Mac OS X > JDK 1.5 > Reporter: Alan D. Cabrera > Assignee: Toni Menzel > Fix For: 1.2.0 > > > This used to work fine under PAX Exam v1.1.0 > check out code https://svn.codehaus.org/livetribe/garden/livetribe-slp/trunk > and change version to 1.2.0 > You should get this error: > java.lang.NoClassDefFoundError: org/livetribe/slp/settings/Settings > at java.lang.Class.getDeclaredMethods0(Native Method) > at java.lang.Class.privateGetDeclaredMethods(Class.java:2395) > at java.lang.Class.getDeclaredMethods(Class.java:1763) > at > org.ops4j.pax.exam.junit.extender.impl.internal.CallableTestMethodImpl.call(CallableTestMethodImpl.java:97) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at > org.ops4j.pax.exam.rbc.internal.RemoteBundleContextImpl.remoteCall(RemoteBundleContextImpl.java:80) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:592) > at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294) > at sun.rmi.transport.Transport$1.run(Transport.java:153) > at java.security.AccessController.doPrivileged(Native Method) > at sun.rmi.transport.Transport.serviceCall(Transport.java:149) > at > sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) > at > sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) > at java.lang.Thread.run(Thread.java:613) > I also get this from the console log: > org.osgi.framework.BundleException: Unable to resolve bundle: missing > package(s) or can not resolve all of the them: org.osgi.service.cm > at > org.knopflerfish.framework.BundleImpl.getUpdatedState(BundleImpl.java:1044) > at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:312) > at > org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285) > at > org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217) > at > org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178) > at java.lang.Thread.run(Thread.java:613) > ## DEBUG: errors - FrameworkErrorEvent throwable: > org.osgi.framework.BundleException: Failed, missing package(s) or can not > resolve all of the them: org.osgi.service.cm > at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:314) > at > org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285) > at > org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217) > at > org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178) > at java.lang.Thread.run(Thread.java:613) > Framework launched -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.ops4j.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general