maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S.Bl...@abg.com.pl
Subject Surefire classpah problem
Date Thu, 21 Jun 2007 08:38:37 GMT

Hi



I've got problem with surefire plugin. It looks like it has
some classpath problem. As you can see below, there is cglib-nodep in
classpath or rather it shows there is cglib.


+ Error stacktraces are turned on.

Maven version: 2.0.6

.

.

.

[DEBUG] Configuring mojo
'org.apache.maven.plugins:maven-surefire-plugin:2.3:test' -->

[DEBUG]   (f) basedir = D:\dev\projects\Myapp

[DEBUG]   (f) childDelegation = true

[DEBUG]   (f) classesDirectory = D:\dev\projects\Myapp\target\classes

[DEBUG]   (f) classpathElements =
[D:\dev\projects\Myapp\target\classes,
D:\dev\projects\Myapp\target\test-classes,
D:\dev\apps\maven2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar,
D:\dev\apps\maven2\repository\org\jmock\jmock\2.1.0\jmock-2.1.0.jar,
D:\dev\apps\maven2\repository\org\jmock\jmock-junit4\2.1.0
\jmock-junit4-2.1.0.jar,
D:\dev\apps\maven2\repository\cglib\cglib-nodep\2.1_3\cglib-nodep-2.1
_3.jar,

D:\dev\apps\maven2\repository\xalan\xalan\2.7.0\xalan-2.7.0.jar,
D:\dev\apps\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar,

D:\dev\apps\maven2\repository\org\jmock\jmock-legacy\2.1.0
\jmock-legacy-2.1.0.jar,
D:\dev\apps\maven2\repository\junit\junit\4.3.1\junit-4.3.1.jar,
D:\dev\apps\maven2\repository\org\objenesis\objenesis\1.0\objenesis-1.0.jar,

D:\dev\apps\maven2\repository\xerces\xercesImpl\2.6.1\xercesImpl-2.6.1.jar,
D:\dev\apps\maven2\repository\org\hamcrest\hamcrest-api\1.0\hamcrest-api-1.0.jar,

D:\dev\apps\maven2\repository\iaik\iaik_jce_signed\3.03\iaik_jce_signed-3.03.jar,

D:\dev\apps\maven2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar,
D:\dev\apps\maven2\repository\xml-security\xmlsec\1.4.1\xmlsec-1.4.1.jar,
D:\dev\apps\maven2\repository\org\hamcrest\hamcrest-library\1.0\hamcrest-library-1.0.jar]


[DEBUG]   (f) disableXmlReport = false

[DEBUG]   (f) forkMode = once

[DEBUG]   (f) localRepository = [local] ->
file://D:/dev/apps/maven2/repository

[DEBUG]   (f) parallel = false

[DEBUG]   (f) pluginArtifactMap =
{org.codehaus.plexus:plexus-utils=org.codehaus.plexus:plexus-utils:jar:1.1:runtime,

org.apache.maven.surefire:surefire-api=org.apache.maven.surefire:surefire-api:jar:2.3:runtime,

org.codehaus.plexus:plexus-archiver=org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:runtime,

org.apache.maven:maven-artifact=org.apache.maven:maven-artifact:jar:2.0:runtime,

org.apache.maven:maven-plugin-api=org.apache.maven:maven-plugin-api:jar:2.0:runtime,

org.apache.maven.surefire:surefire-booter=org.apache.maven.surefire:surefire-booter:jar:2.3:runtime,

commons-lang:commons-lang=commons-lang:commons-lang:jar:2.1:runtime}

[DEBUG]   (f) printSummary = true

[DEBUG]   (f) projectArtifactMap =
{log4j:log4j=log4j:log4j:jar:1.2.8:compile,
iaik:iaik_jce_signed=iaik:iaik_jce_signed:jar:3.03:compile,
org.hamcrest:hamcrest-api=org.hamcrest:hamcrest-api:jar:1.0:compile,
org.hamcrest:hamcrest-library=org.hamcrest:hamcrest-library:jar:1.0:compile,

org.jmock:jmock-junit4=org.jmock:jmock-junit4:jar:2.1.0:compile,
xml-security:xmlsec=xml-security:xmlsec:jar:1.4.1:compile,
xerces:xercesImpl=xerces:xercesImpl:jar:2.6.1:compile,
cglib:cglib-nodep=cglib:cglib-nodep:jar:2.1_3:compile
,
org.jmock:jmock-legacy=org.jmock:jmock-legacy:jar:2.1.0:compile,
junit:junit=junit:junit:jar:4.3.1:test,
org.jmock:jmock=org.jmock:jmock:jar:2.1.0:compile,
xalan:xalan=xalan:xalan:jar:2.7.0:compile,
xml-apis:xml-apis=xml-apis:xml-apis:jar:1.0.b2:compile,
commons-lang:commons-lang=commons-lang:commons-lang:jar:2.1:compile,
org.objenesis:objenesis=org.objenesis:objenesis:jar:1.0:compile}

[DEBUG]   (f) redirectTestOutputToFile = false

[DEBUG]   (f) reportFormat = brief

[DEBUG]   (f) reportsDirectory =
D:\dev\projects\Myapp\target\surefire-reports

[DEBUG]   (f) testClassesDirectory =
D:\dev\projects\Myapp\target\test-classes

[DEBUG]   (f) testSourceDirectory = D:\dev\projects\Myapp\src\test\java

[DEBUG]   (f) threadCount = 5

[DEBUG]   (f) trimStackTrace = true

[DEBUG]   (f) useFile = true

[DEBUG]   (f) useSystemClassLoader = false

[DEBUG] -- end configuration --

[INFO] [surefire:test]

[DEBUG] dummy:dummy:jar:1.0 (selected for null)

[DEBUG]   org.apache.maven.surefire:surefire-booter:jar:2.3:runtime
(selected for runtime)

[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.3:runtime
(selected for runtime)

[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected
for runtime)

[DEBUG]       commons-lang:commons-lang:jar:2.1:runtime (selected for
runtime)

[DEBUG]     org.codehaus.plexus:plexus-utils:jar:1.1:runtime (selected for
runtime)

[DEBUG]     org.codehaus.plexus:plexus-archiver:jar:1.0-alpha-7:runtime
(selected for runtime)

[DEBUG]
org.codehaus.plexus:plexus-container-default:jar:1.0-alpha-8:runtime
(selected for runtime)

[DEBUG]         org.codehaus.plexus:plexus-utils:jar:1.0.4:runtime (removed
- nearer found: 1.1)

[DEBUG]         junit:junit:jar:3.8.1:runtime (selected for runtime)

[DEBUG]         classworlds:classworlds:jar:1.1-alpha-2:runtime (selected
for runtime)

[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.2:runtime (removed -
nearer found: 1.1)

[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\junit\junit\3.8.1\junit-3.8.1.jar

[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar


[DEBUG] Adding to surefire booter test classpath:
D:\dev\apps\maven2\repository\org\apache\maven\surefire\surefire-booter\2.3\surefire-booter-2.3.jar


[DEBUG] dummy:dummy:jar:1.0 (selected for null)

[DEBUG] Retrieving parent-POM:
org.apache.maven.surefire:surefire-providers::2.3 for project:
null:surefire-junit4:jar:2.3 from the repository.

[DEBUG] Retrieving parent-POM:
org.apache.maven.surefire:surefire::2.3 for project:
null:surefire-providers:pom:null from the repository.

[DEBUG] Retrieving parent-POM: org.apache.maven:maven-parent::5
for project: org.apache.maven.surefire:surefire:pom:2.3 from the
repository.

[DEBUG] Retrieving parent-POM: org.apache:apache::3 for project:
org.apache.maven:maven-parent:pom:5 from the repository.

[DEBUG]   org.apache.maven.surefire:surefire-junit4:jar:2.3 (selected for
null)

[DEBUG]     org.apache.maven.surefire:surefire-api:jar:2.3:compile
(selected for compile)

[DEBUG]       org.codehaus.plexus:plexus-utils:jar:1.1:compile (selected
for compile)

[DEBUG]       commons-lang:commons-lang:jar:2.1:compile (selected for
compile)

[DEBUG]     junit:junit:jar:4.0:compile (selected for compile)

[DEBUG] Adding to surefire test classpath:
D:\dev\apps\maven2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar


[DEBUG] Adding to surefire test classpath:
D:\dev\apps\maven2\repository\org\apache\maven\surefire\surefire-junit4\2.3\surefire-junit4-2.3.jar


[DEBUG] Adding to surefire test classpath:
D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar


[DEBUG] Adding to surefire test classpath:
D:\dev\apps\maven2\repository\junit\junit\4.0\junit-4.0.jar

[DEBUG] Adding to surefire test classpath:
D:\dev\apps\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar


[DEBUG] Test Classpath :

[DEBUG]   D:\dev\projects\Myapp\target\classes

[DEBUG]   D:\dev\projects\Myapp\target\test-classes

[DEBUG]   D:\dev\apps\maven2\repository\log4j\log4j\1.2.8\log4j-1.2.8.jar

[DEBUG]   D:\dev\apps\maven2\repository\org\jmock\jmock\2.1.0
\jmock-2.1.0.jar

[DEBUG]   D:\dev\apps\maven2\repository\org\jmock\jmock-junit4\2.1.0
\jmock-junit4-2.1.0.jar

[DEBUG]
D:\dev\apps\maven2\repository\cglib\cglib-nodep\2.1_3\cglib-nodep-2.1_3.jar

[DEBUG]   D:\dev\apps\maven2\repository\xalan\xalan\2.7.0\xalan-2.7.0.jar

[DEBUG]
D:\dev\apps\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar


[DEBUG]   D:\dev\apps\maven2\repository\org\jmock\jmock-legacy\2.1.0
\jmock-legacy-2.1.0.jar

[DEBUG]   D:\dev\apps\maven2\repository\junit\junit\4.3.1\junit-4.3.1.jar

[DEBUG]
D:\dev\apps\maven2\repository\org\objenesis\objenesis\1.0\objenesis-1.0.jar

[DEBUG]   D:\dev\apps\maven2\repository\xerces\xercesImpl\2.6.1
\xercesImpl-2.6.1.jar

[DEBUG]
D:\dev\apps\maven2\repository\org\hamcrest\hamcrest-api\1.0\hamcrest-api-1.0.jar


[DEBUG]
D:\dev\apps\maven2\repository\iaik\iaik_jce_signed\3.03\iaik_jce_signed-3.03.jar


[DEBUG]
D:\dev\apps\maven2\repository\xml-apis\xml-apis\1.0.b2\xml-apis-1.0.b2.jar

[DEBUG]   D:\dev\apps\maven2\repository\xml-security\xmlsec\1.4.1
\xmlsec-1.4.1.jar

[DEBUG]
D:\dev\apps\maven2\repository\org\hamcrest\hamcrest-library\1.0\hamcrest-library-1.0.jar


[DEBUG] Setting system property
[localRepository]=[D:/dev/apps/maven2/repository]

[DEBUG] Setting system property [basedir]=[D:\dev\projects\Myapp]

[DEBUG] Using JVM: D:\dev\apps\jdk1.5.0\jre\bin\java

[INFO] Surefire report directory:
D:\dev\projects\Myapp\target\surefire-reports

Forking command line: D:\dev\apps\jdk1.5.0\jre\bin\java -classpath
D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-archiver\1.0-alpha-7\plexus-archiver-1.0-alpha-7.jar;D:\dev\apps\maven2\repository\junit\junit\3.8.1
\junit-3.8.1.jar;D:\dev\apps\maven2\repository\org\apache\maven\surefire\surefire-api\2.3\surefire-api-2.3.jar;D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-8\plexus-container-default-1.0-alpha-8.jar;D:\dev\apps\maven2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar;D:\dev\apps\maven2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;D:\dev\apps\maven2\repository\commons-lang\commons-lang\2.1\commons-lang-2.1.jar;D:\dev\app
s\maven2\repository\org\apache\maven\surefire\surefire-booter\2.3\surefire-booter-2.3.jar

org.apache.maven.surefire.booter.SurefireBooter
C:\DOCUME~1\PRADZI~1\USTAWI~1\Temp\surefire28986tmp
C:\DOCUME~1\PRADZI~1\USTAWI~1\Temp\surefire28987tmp


-------------------------------------------------------

 T E S T S

-------------------------------------------------------

Running pl.abgsp.wspolne.CertificateFilterLegacyTest

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.516 sec
<<< FAILURE!

Running pl.abgsp.wspolne.CertificateFilterTest

Tests run: 15, Failures: 0, Errors: 8, Skipped: 1, Time elapsed: 0.828 sec
<<< FAILURE!


Results :


Tests in error:

  testCertificateFilterCollection(pl.abgsp.wspolne.CertificateFilterLegacyTest)


  tstCertificateDateFilterInvalidRange(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateDateFilterSameRange(pl.abgsp.wspolne.CertificateFilterTest)

  tstCertificateDateFilterValidRange(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateValidityFilterDateInTheMiddle(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateValidityFilterDateNotBefore(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateValidityFilterDateNotAfter(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateValidityFilterTooEarly(pl.abgsp.wspolne.CertificateFilterTest)


  tstCertificateValidityFilterTooLate(pl.abgsp.wspolne.CertificateFilterTest)



Tests run: 16, Failures: 0, Errors: 9, Skipped: 1


[INFO]
------------------------------------------------------------------------

[ERROR] BUILD FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] There are test failures.

[INFO]
------------------------------------------------------------------------

[DEBUG] Trace

org.apache.maven.BuildFailureException: There are test failures.

    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)


    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:334)

    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)

    at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)

    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:585)

    at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)

    at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)

    at
    org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)

    at org.codehaus.classworlds.Launcher.main(Launcher.java:375)

Caused by: org.apache.maven.plugin.MojoFailureException: There are test
failures.

    at
    org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:425)


    at
    org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:443)


    at
    org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)


    ... 16 more

[INFO]
------------------------------------------------------------------------

[INFO] Total time: 6 seconds

[INFO] Finished at: Wed Jun 13 15:21:26 CEST 2007

[INFO] Final Memory: 4M/8M

[INFO]
------------------------------------------------------------------------


Now is the best part.

The test fails because of the java.lang.NoClassDefFoundError:
net/sf/cglib/proxy/Factory.


-------------------------------------------------------------------------------


Test set: pl.abgsp.wspolne.CertificateFilterLegacyTest

-------------------------------------------------------------------------------


Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.532 sec
<<< FAILURE!

testCertificateFilterCollection(pl.abgsp.wspolne.CertificateFilterLegacyTest)
  Time elapsed: 0.359 sec  <<< ERROR!

java.lang.IllegalArgumentException: could not imposterise class
java.util.Date

    at
    org.jmock.lib.legacy.ClassImposteriser.createProxyClass(ClassImposteriser.java:103)


    at
    org.jmock.lib.legacy.ClassImposteriser.imposterise(ClassImposteriser.java:59)


    at
    org.jmock.internal.ReturnDefaultValueAction.invoke(ReturnDefaultValueAction.java:62)


    at org.jmock.Mockery.dispatch(Mockery.java:187)

    at org.jmock.Mockery.access$000(Mockery.java:34)

    at org.jmock.Mockery$MockObject.invoke(Mockery.java:236)

    at
    org.jmock.internal.InvocationDiverter.invoke(InvocationDiverter.java:27)


    at
    org.jmock.internal.ProxiedObjectIdentity.invoke(ProxiedObjectIdentity.java:36)


    at
    org.jmock.lib.legacy.ClassImposteriser$4.invoke(ClassImposteriser.java:112)


    at
    $java.security.cert.X509Certificate$$EnhancerByCGLIB$$312e3677.getNotBefore(<generated>)


    at
    pl.abgsp.wspolne.CertificateFilterLegacyTest$2.<init>(CertificateFilterLegacyTest.java:42)


    at
    pl.abgsp.wspolne.CertificateFilterLegacyTest.testCertificateFilterCollection(CertificateFilterLegacyTest.java:40)


    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:585)

    at
    org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)


    at
    org.jmock.integration.junit4.JMockTestMethodRunner.executeMethodBody(JMockTestMethodRunner.java:21)


    at
    org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)


    at
    org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)


    at
    org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)


    at
    org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)


    at
    org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)


    at
    org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)


    at
    org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)


    at
    org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)


    at
    org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)

    at
    org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)


    at
    org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)


    at
    org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:125)


    at org.apache.maven.surefire.Surefire.run(Surefire.java:132)

    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:585)

    at
    org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)


    at
    org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:818)


Caused by: net.sf.cglib.core.CodeGenerationException:
java.lang.reflect.InvocationTargetException-->null

    at
    net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:237)


    at net.sf.cglib.proxy.Enhancer.createHelper(Enhancer.java:377)

    at net.sf.cglib.proxy.Enhancer.createClass(Enhancer.java:317)

    at
    org.jmock.lib.legacy.ClassImposteriser.createProxyClass(ClassImposteriser.java:97)


    ... 36 more

Caused by: java.lang.reflect.InvocationTargetException

    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:585)

    at net.sf.cglib.core.ReflectUtils.defineClass(ReflectUtils.java:384)

    at
    net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:219)


    ... 39 more

Caused by: java.lang.NoClassDefFoundError: net/sf/cglib/proxy/Factory

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)

    ... 45 more


net/sf/cglib/proxy/Factory.class can be found in cglib-nodep.




D:\dev\apps\maven2\repository\cglib\cglib-nodep>unzip -l 2.1
_3\cglib-nodep-2.1_3.jar > cglib_nodep_contents.txt


Archive:  2.1_3/cglib-nodep-2.1_3.jar

 Length    Date    Time    Name

 ------    ----    ----    ----

    186  10-13-05  11:35   META-INF/MANIFEST.MF

  11558  10-13-05  11:35   LICENSE

    103  10-13-05  11:35   NOTICE

    298  10-13-05  11:35
    net/sf/cglib/beans/BeanCopier$BeanCopierKey.class

   5942  10-13-05  11:35   net/sf/cglib/beans/BeanCopier$Generator.class

   3060  10-13-05  11:35   net/sf/cglib/beans/BeanCopier.class

    309  10-13-05  11:35
    net/sf/cglib/beans/BeanGenerator$BeanGeneratorKey.class

   5999  10-13-05  11:35   net/sf/cglib/beans/BeanGenerator.class

    336  10-13-05  11:35
    net/sf/cglib/beans/BeanMap$Generator$BeanMapKey.class

   3216  10-13-05  11:35   net/sf/cglib/beans/BeanMap$Generator.class

   4984  10-13-05  11:35   net/sf/cglib/beans/BeanMap.class

   1848  10-13-05  11:35   net/sf/cglib/beans/BeanMapEmitter$1.class

   2112  10-13-05  11:35   net/sf/cglib/beans/BeanMapEmitter$2.class

 .

.

.

.

    579  10-13-05  11:35   net/sf/cglib/proxy/Factory.class

.

.

.

.

.2894  01-27-05  08:53   net/sf/cglib/asm/attrs/StackMapFrame.class

   1701  01-27-05  08:53   net/sf/cglib/asm/attrs/StackMapType.class

 ------                    -------

 610805                    262 files




How's that possible and how to fix it?





Pozdrawiam
Sebastian Błoch

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Configuration Manager
ABG Ster-Projekt S.A.

Millennium Plaza, 22 piętro
Al. Jerozolimskie 123A
02-017 Warszawa
tel.: (022) 33 76 787
kom.: +48 696 027 166
e-mail: S.Bloch@abg.com.pl
www.abg.com.pl


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message