I’m having a problem building my regular client (not web) application.
It works fine when I run it from my IDE, but when I try to deploy it to a Jar file and then run it through “java -jar application.jar”, I get the following error:
Exception in thread “main” java.lang.NoClassDefFoundError: org/apache/log4j/Category
Can I deploy my application as a single jar file with all BO SDK jars included?
I tried adding commons-logging.jar and log4j.jar, but I got this error:
log4j:WARN No appenders could be found for logger (com.crystaldecisions.enterprise.ocaframework.ServiceMgr).
log4j:WARN Please initialize the log4j system properly.
Sorry - you could not be logged on to this server.
The application can’t create an Enterprise session manager object, but it works through the IDE.
I spent a better part of my day trying to use Google to find an answer yesterday
I apologize in advance if this is something simple, I just can’t figure this out.