|
|
9:
Re: Re: Re: Re: java.lang.ClassNotFoundException
|
In response to 8
|
08/23/10 07:31 AM |
|
I tried to add that but it throws an error while building the war (deploy-war action).
BUILD FAILED
/Users/patrosmania/Documents/Tesis/lams/lams_tool_twitter/build.xml:205: Problem: failed to create task or type lib
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
I've also add the include line adding the lib folder. It does include the jar files into the war but when I try to view the Learner activity it keeps throwing the java.lang.ClassNotFoundException
I attached an image file with the build-war xml code.
Cheers
Posted by Felipe Peña
|
Attachments:
|
|
|
|
|
|
|
|
15:
Re: Re: Re: Re: Re: Re: Re: Re: java.lang.ClassNotFoundException
|
In response to 12
|
08/27/10 09:29 AM |
|
Hey Andrey. I don't know if this would help.
When I deploy my tool, I go and see the build/deploy folder and the war is there. Then, I look inside it and the jar files are in the web/WEB-INF/lib folder.
Now, when I go to the JBOSS folder, server/default/deploy/lams.ear folder, the tool's war is also there, but it's not the same as the one placed in the tool's build folder.
My point is that probably the process of copying the war into de JBOSS folder is failing.
Appreciate your help.
Thanks.
Posted by Felipe Peña
|
|
|
|
17:
Re: Re: Re: Re: Re: Re: Re: Re: Re: Re: java.lang.ClassNotFoundException
|
In response to 16
|
08/30/10 06:41 AM |
|
Hi Andrey
I did manage to solve the problem. I re deployed my tool from scratch and the war with the 2 jars inside, copied to the lams.ear folder.
After I do that, I change a parameter from true to false in the build.xml file (for later deployments), in order to avoid issues with the the tool's database records.
From now on, I'll just manually copy the war into the lams.ear folder.
Thanks for your help!
Posted by Felipe Peña
|
|