• 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

Class bytes found but defineClass() failed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am using ant with eclipse to build a project. I am doing the project in eclipse from an existing source. For building the project, I have done the set up using External Tools dialog in eclipse.In my ant script, I am using a task defined as wlappc which is defined in weblogic.jar. I have added all the classes required. The version of weblogic is 8,jdk used is 1.4 and ant used is 1.7 ( I tried with 1.5 too).

Now I am getting the trace as given below. When I googled, I read that this can be caused by version incompatibility. But I am not very sure about this. What will be the cause of this and how can I correct it.

Thanking you in advance

sasi

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi sasikumar palakkizhi,

I too got the same error,i got resolved, this is version problem only.
We need to use the weblog java compiler,i mean weblogic java. we need to set that first in the path variable(path="C:\bea\jdk141_03\bin").

Thanks,
-Chandra.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic