Hello: When I tried to build, I got the following errors. What could be the problem? Thanks in advance! C:\bea\weblogic81\server\samples\server\examples\src\examples\ejb20\basic\statefulSession>ant run Buildfile: build.xml run: [java] java.lang.NoClassDefFoundError: examples/ejb20/basic/statefulSession /Client [java] Exception in thread "main" BUILD FAILED file:C:/bea/weblogic81/server/samples/server/examples/src/examples/ejb20/basic/s tatefulSession/build.xml:75: Java returned: 1 Total time: 1 second
Rob Misek
Ranch Hand
Joined: Sep 24, 2002
Posts: 41
posted
0
Looks like claspath stuff. I would start by verifying that examples.ejb20.basic.statefulSession.Client is in the CP of the build. It may be as easy as changing the paths in the build file. Later, Rob
<a href="http://www.tangosol.com" target="_blank" rel="nofollow">www.tangosol.com</a><br /><a href="http://www.tangosol.com/coherence.jsp" target="_blank" rel="nofollow">Coherence:</a> Easily share live data across a cluster!
sarah Marsh
Ranch Hand
Joined: Mar 06, 2001
Posts: 282
posted
0
I read it carefully and found out that the following mkdir doesn't work, Why? <mkdir dir="${build}" /> <mkdir dir="${build}/META-INF" /> <mkdir dir="${dist}" />
Rob Misek
Ranch Hand
Joined: Sep 24, 2002
Posts: 41
posted
0
Does the user that you are running the build script as have permissions to modify the directory structure? Later, Rob
sarah Marsh
Ranch Hand
Joined: Mar 06, 2001
Posts: 282
posted
0
Thanks, Rob. How should I check if the user that I'm running can modify the directory?
sarah Marsh
Ranch Hand
Joined: Mar 06, 2001
Posts: 282
posted
0
Why the folders (weblogic8.1) are read only and unchecking the read only doesn't work?
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.