You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/08/08 07:43:15 UTC

[jira] Created: (MPJAVA-27) java.lang.NoClassDefFoundError

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-27

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-27
    Summary: java.lang.NoClassDefFoundError
       Type: Task

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Chris

    Created: Sun, 8 Aug 2004 1:42 AM
    Updated: Sun, 8 Aug 2004 1:42 AM
Environment: winXP using j2sdk1.4.1_01


Description:
I was doing this but have an error : Please help

C:\dbxml-1.2.1-win32>java -classpath c:\dbxml-1.2.1-win32\examples\java\gettingStarted simpleContainer
Exception in thread "main" java.lang.NoClassDefFoundError: simpleContainer (wrong name: com/sleepycat/dbxml/examples/gettingStarted/simpleContainer)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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


[jira] Closed: (MPJAVA-27) java.lang.NoClassDefFoundError

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Brett Porter
       Date: Sun, 8 Aug 2004 11:22 AM

not a Maven bug
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPJAVA-27

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPJAVA-27
    Summary: java.lang.NoClassDefFoundError
       Type: Task

     Status: Closed
   Priority: Major
 Resolution: INCOMPLETE

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-java-plugin

   Assignee: Jason van Zyl
   Reporter: Chris

    Created: Sun, 8 Aug 2004 1:42 AM
    Updated: Sun, 8 Aug 2004 11:22 AM
Environment: winXP using j2sdk1.4.1_01


Description:
I was doing this but have an error : Please help

C:\dbxml-1.2.1-win32>java -classpath c:\dbxml-1.2.1-win32\examples\java\gettingStarted simpleContainer
Exception in thread "main" java.lang.NoClassDefFoundError: simpleContainer (wrong name: com/sleepycat/dbxml/examples/gettingStarted/simpleContainer)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:250)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:54)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:193)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:265)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


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