cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Giaccone <anthony.giacc...@nytimes.com>
Subject Re: Trouble with Web app deployment
Date Fri, 12 Jun 2015 14:27:53 GMT
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.


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
>> <awillerding@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
>
>


Mime
View raw message