• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

New to WL8.1

 
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 41
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does the user that you are running the build script as have permissions to modify the directory structure?
Later,
Rob
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks, Rob. How should I check if the user that I'm running can modify the directory?
 
sarah Marsh
Ranch Hand
Posts: 282
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why the folders (weblogic8.1) are read only and unchecking the read only doesn't work?
reply
    Bookmark Topic Watch Topic
  • New Topic