Win a copy of Mastering Corda: Blockchain for Java Developers this week in the Cloud/Virtualization forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

Keep getting: weblogic.xml.schema.binding.BindingException: ERROR: during code compilation

 
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm running a ant build on some files and I keep getting this error and can't figure out why. I've verified that weblogic.jar, wlclient.jar, and webservices.jar are all in the classpath
I've run the setEnv.cmd and it did nothing. I verified that my environment variables have the right JDK and ant version. Is there anything else I need to check here?

Also checked the build.xml itself to see what it was referencing and it's looking for the weblogic jars in the proper location.
I think I've had this happened before and was able to fix it but I don't remember what I did, anyone ever get this before and get rid of it? I'm guessing it's something in my set up since I got the project from off SVN and other people are able to compile using ant right out the box.


ant version is 1.7.1
jdk is 1.6.0_24 (required)
weblogic version is 10.3.4 (required)

 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I also see this in my build.xml when I load it in my IDE:

taskdef class weblogic.ant.taskdefs.j2ee.Appc cannot be found

i get that kind of error for each of the below lines




wls.libraries is set to the right path. why can't it find it?
 
Jay Dilla
Ranch Hand
Posts: 201
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Fixed it. Issue was / vs \ in my build property file

wls.home = c/bea.... vs c\bea.....
 
Sheriff
Posts: 22055
113
Eclipse IDE Spring VI Editor Chrome Java Ubuntu Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for sharing the solution
 
Time flies like an arrow. Fruit flies like a banana. Steve flies like a tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic