[prev in list] [next in list] [prev in thread] [next in thread]
List: james-user
Subject: Re: Error running James: No Class Definition Found (ImapConstants)
From: lists () joerg-buchberger ! de
Date: 2008-09-30 7:07:58
Message-ID: 32923495.174771222758478236.JavaMail.servlet () kundenserver
[Download RAW message or body]
Hi,
this seems to be a bug in the current trunk.
Since the last revision committed to James trunk to date is 699674, updating your \
sources won't change anything.
I'd suggest reporting this as a bug, to make sure that james developers get fast \
feedback and have a fair chance to fix this early.
The bug reporting page for James is here (select JAMES Server in the project list)
https://issues.apache.org/jira/secure/CreateIssue!default.jspa
If you don't have a bugtracker account yet, you can register here:
https://issues.apache.org/jira/secure/Signup!default.jspa
--Jörg
>
> Hello,
>
> I checked out the latest version of james from the repository (version
> 700001). I have been able to build it but while running it I got the
> following error:
>
> java.lang.NoClassDefFoundError: org/apache/james/api/imap/ImapConstants
>
> I have checked the class ImapConstants. It is located in 2 jars:
>
> /james/trunk> grepzip ImapConstants.class
>
> org/apache/james/api/imap/ImapConstants.class
> ../spring-deployment/target/james-server-spring-deployment-3.0-SNAPSHOT/lib/apache-james-imap-api-0.1-SNAPSHOT.jar
>
> org/apache/james/api/imap/ImapConstants.class
> ../stage/org.apache.james/jars/apache-james-imap-api-0.1-SNAPSHOT.jar
>
> So I tried to start running James with the classpath set to these 2 jars
> in phonix.sh:
>
> '/share/java/jdk/1.5.0_13/bin/java -classpath
> /home/megha/james_29th/trunk/stage/org.apache.james/jars/apache-james-imap-api-0.1-S \
> NAPSHOT.jar;/home/megha/james_29th/trunk/spring-deployment/target/james-server-spring-deployment-3.0-SNAPSHOT/lib/apache-james-imap-api-0.1-SNAPSHOT.jar
>
> ... '
>
> But without luck, I still get the NoClassDefFoundException:
>
>
> There was an uncaught exception:
> ---------------------------------------------------------
> --- Message ---
> org/apache/james/api/imap/ImapConstants
> --- Stack Trace ---
> java.lang.NoClassDefFoundError: org/apache/james/api/imap/ImapConstants
> at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
>
>
> Can someone please help ?
>
> Regards,
> Megha
---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscribe@james.apache.org
For additional commands, e-mail: server-user-help@james.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic