On 06/12/2015 10:27 AM, Tony Giaccone wrote:
Andrew,

The problem is your class loader can't find the jar files. I'd use netbeans to create a war file then see what's missing from WEB-INF/lib.

You're not adding everything you need to the classpath.

I added the commonslang3-3.4 to the project and this is what the WAR file now contains. It looks like everything is there...

-rw-r--r-- 1 willerd willerd  42K Jun 12 11:54 cayenne-client-4.0.M2.jar
-rw-r--r-- 1 willerd willerd  60K Jun 12 11:54 cayenne-crypto-4.0.M2.jar
-rw-r--r-- 1 willerd willerd  60K Jun 12 11:54 cayenne-di-4.0.M2.jar
-rw-r--r-- 1 willerd willerd  59K Jun 12 11:54 cayenne-lifecycle-4.0.M2.jar
-rw-r--r-- 1 willerd willerd 2.1M Jun 12 11:54 cayenne-server-4.0.M2.jar
-rw-r--r-- 1 willerd willerd 135K Jun 12 11:54 cayenne-tools-4.0.M2.jar
-rw-r--r-- 1 willerd willerd 562K Jun 12 11:54 commons-collections-3.2.1.jar
-rw-r--r-- 1 willerd willerd 425K Jun 12 11:54 commons-lang3-3.4.jar
-rw-r--r-- 1 willerd willerd  52K Jun 12 11:54 commons-logging-1.1.jar
-rw-r--r-- 1 willerd willerd 575K Jun 12 11:54 joda-time-2.5.jar
-rw-r--r-- 1 willerd willerd  37K Jun 12 11:54 log4j-1.2-api-2.2.jar
-rw-r--r-- 1 willerd willerd 131K Jun 12 11:54 log4j-api-2.2.jar
-rw-r--r-- 1 willerd willerd 808K Jun 12 11:54 log4j-core-2.2.jar
-rw-r--r-- 1 willerd willerd  58K Jun 12 11:54 log4j-flume-ng-2.2.jar
-rw-r--r-- 1 willerd willerd  32K Jun 12 11:54 log4j-iostreams-2.2.jar
-rw-r--r-- 1 willerd willerd  13K Jun 12 11:54 log4j-jcl-2.2.jar
-rw-r--r-- 1 willerd willerd  31K Jun 12 11:54 log4j-taglib-2.2.jar
-rw-r--r-- 1 willerd willerd  24K Jun 12 11:54 log4j-web-2.2.jar
-rw-r--r-- 1 willerd willerd 829K Jun 12 11:54 mysql-connector-java-5.1.25-bin.jar
-rw-r--r-- 1 willerd willerd 412K Jun 12 11:54 velocity-1.6.3.jar
-rw-r--r-- 1 willerd willerd 518K Jun 12 11:54 vpp-2.2.1.jar





Tony

On 6/12/15 10:20 AM, Andrew Willerding wrote:


On 06/12/2015 10:06 AM, Mike Kienenberger wrote:
On Fri, Jun 12, 2015 at 9:40 AM, Andrew Willerding
<awillerd...@itsurcom.com> wrote:
app.  When I attempt to start Tomcat and load my app I'm getting the
Which version of tomcat?
I'm using 8.0.3 which comes with Netbeans version 8.0.2. It's all run from the Netbeans environment for now...


Caused by: java.lang.NoClassDefFoundError:
org/apache/commons/lang/StringUtils
Which commons lang version?
I'm including the one bundled with Cayenne - commons-collections-3.2.1

And yet I have the proper library files in the Java path - or at least I
And where specifically do you have cayenne and commons-lang installed?
I'm deploying the app as any other Netbeans app so the libraries should automatically be added to the path




Reply via email to