ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lis Maria <lismari...@gmail.com>
Subject Re: Emma Configuration in Ant
Date Tue, 15 Mar 2011 11:53:39 GMT
This is one fo the exception i get


[instr] processing instrumentation path ...
    [instr] instrumentation path processed in 183 ms
    [instr] [13 class(es) instrumented, 0 resource(s) copied]
    [instr] metadata merged into
[/opt/hybris/bin/rules/emma/metadata.emma] {in 149 ms}
    [junit] Testsuite: cocmscockpit.GeneratedTypeInitializer
    [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
    [junit]
    [junit] Null Test: 	Caused an ERROR
    [junit] de/hybris/platform/persistence/AbstractTypeInitializer
    [junit] java.lang.NoClassDefFoundError:
de/hybris/platform/persistence/AbstractTypeInitializer
    [junit] 	at java.lang.ClassLoader.defineClass1(Native Method)
    [junit] 	at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
    [junit] 	at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
    [junit] 	at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
    [junit] 	at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
    [junit] 	at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    [junit] 	at java.lang.Class.forName0(Native Method)
    [junit] 	at java.lang.Class.forName(Class.java:169)
    [junit] Caused by: java.lang.ClassNotFoundException:
de.hybris.platform.persistence.AbstractTypeInitializer
    [junit] 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    [junit] 	at java.security.AccessController.doPrivileged(Native Method)
    [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
    [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)

And i get this for all the classes too

Thanks,
Lis


On Tue, Mar 15, 2011 at 5:20 PM, Mark Salter <marksalter@talktalk.net>wrote:

> On 15/03/2011 11:40, Lis Maria wrote:
> > It is nt emma eror that i get , but it says classnotfound exception for
> any
> > class it executes in the junit section
> The actual and full Exception you are seeing but we are not would be a
> useful piece of information to help guide you.
>
> 8)
>
> --
> Mark
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message