Hi,

I just checked out latest version from trunk, ran ant (default target build)
and then startofbiz.bat, I get ClassNotFound exception on log4j which is in
the framework\base\lib directory and has the class Priority. And there is no
other older log4j anywhere under ofbiz. 

Strangely, my older version of Ofbiz works fine the only thing different I
did this time ofcourse is I didnt run ant run-install-seed (like I mentioned
I ran ant build instead) for obvious reasons.

I put debug statements in Start.java and it shows log4j jar in classpath.
Will appreciate any help.

Admin socket not configured; set to port 0
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/log4j/Prio
rity
        at
org.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:51
)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:252)
        at org.ofbiz.base.start.Start.init(Start.java:89)
        at org.ofbiz.base.start.Start.main(Start.java:400)

C:\Opensource\ofbiz>REM This one is for more of a debugging mode

C:\Opensource\ofbiz>REM "C:\Programs\Java\jdk1.5.0_13\bin\java" -Xms128M
-Xmx512
M -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,
suspend=n,address=5005 -jar ofbiz.jar > runtime\logs\console.log

-- 
View this message in context: 
http://www.nabble.com/Checked-out-latest-from-trunk---Getting-ClassNotFoundException-tp18203773p18203773.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to