Back Forum Reply New

NoClassDefFound when accessing a web page

.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
at java.lang.Thread.run(Thread.java:595)
I've join the maven and tomcat log, just in case...

Thank's a lot for your hints and tips,

Simon Rousseau
CSSMI

Where is the class directly below the missing one located, relative to your deployment directory?
FATAL: Completely fatal error populating view root (2007-09-20 10:08:50,125 from-8080-Processor25_PonderUtilCore)
java.lang.NoClassDefFoundError: ca/qc/cssmi/pfolio/user/impl/PfolioDbUserDirectoryService   at org.sakaiproject.pfolioabilitiesassessment.logic.i  mpl.UserDirectoryLogicImpl.getEmployees(UserDirect  oryLogicImpl.java:37)

It could be a classloader issue - is org.sakaiproject.* in WEB-INF/lib, or is it somewhere outside of your webapp?

Hi pmularien,

The class was named : PfolioDbUserDirectoryService
And was under this package: ca/qc/cssmi/pfolio/user/impl/

The specific jar was is in the local maven repository:
%LOCAL_USER%\.maven\repository\org.sakaiproject\ja  rs\sakai-user-impl-2.4.0.jar

And is deployed there after compilation
%TOMCAT_HOME%\webapps\sakai-pfolioabilitiesassessment-tool\WEB-INF\lib\sakai-user-impl-2.4.0.jar

Thank's a lot for your help,

Simon Rousseau
CSSMI

Sorry, maybe I wasn't clear. Where is this class: org.sakaiproject.pfolioabilitiesassessment.logic.i  mpl.UserDirectoryLogicImpl in your deployment structure?

Hi again,

It was in the Shared\lib folder as it was a part of a component and compilated as a jar file.

You've point me out what's wrong!  And this because the jar file that contain the missing class was deployed under %TOMCAT_HOME%\webapps\sakai-pfolioabilitiesassessment-tool\WEB-INF\lib\  and those in shared\lib don't have access to webapps folder....Thank's a lot,

Simon Rousseau
CSSMI

Glad to help!
¥
Back Forum Reply New