Ismail Abrams

Greenhorn
+ Follow
since Jul 26, 2012
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ismail Abrams

Hellow,

I get a java.lang.IncompatibleClassChangeError when i try to run my project on AIX machine.

  • The project generate XML files using JAXB API (2.0).
  • The development environment installed in Windows XP and use JDK1.5.0(the same JDK as AIX machine ones).
  • In the developement environment the project works good. but in the AIX machine it doesn't work (throws the exception).


  • Here is the stack trace when I try to run the project :

    Please help.
    Thanks.


    This is the full schema, if the schema is compiled with jaxb compiler, the generated class SousAdresse will be declared twice. That's the error.

    11 years ago
    Yes, i mean compilation errors. the generated classes must be compilated all right.is there any way to customize it ?
    thanks
    11 years ago
    I find a problem during JAVA compiling of classes generated by XJC compiler.

    This is the xsd bloc causing the problem of java compilation. there is two elements with the same name (sousAdresse) but they have a different content.



    **
    XJC compiler generates the class SousAdresse.java wich contain :
    - protected List<Contact> contacts;
    - internal class : public static class Acces, in with we find the internal class -> public static class SousAdresse
    **

    the solution mustn't impact the containt of the schema file.is There any configuration in the Binding file that i can do to resolve the problem ?
    I need your help.
    11 years ago