Hi Experts,

I am trying to generate the xml message in JDK 1.5 using jaxb in maven project, i am getting the following error in the console:

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building accounting-application-server 1.0.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[WARNING] The POM for tibjms:tibjms:jar:3.1.2_V7 is missing, no dependency information available
[WARNING] The POM for dbNaming:dbNaming:jar:4.0 is missing, no dependency information available
[WARNING] The POM for dbJMS:dbJMS:jar:3.1 is missing, no dependency information available
[INFO]
[INFO] --- maven-jaxb2-plugin:0.8.1:generate (xsd-generate) @ accounting-application-server ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.412s
[INFO] Finished at: Mon Sep 16 03:22:15 EDT 2013
[INFO] Final Memory: 4M/8M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.1:generate (xsd-generate) on project accounting-application-server: Execution xsd-generate of goal org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.1:generate failed: A required class was missing while executing org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.1:generate: javax/xml/bind/JAXBException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.8.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirst Strategy
[ERROR] urls[0] = file:/C:/Users/Public/Documents/maven/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin/0.8.1/maven-jaxb2-plugin-0.8.1.jar
[ERROR] urls[1] = file:/C:/Users/Public/Documents/maven/repository/org/jvnet/jaxb2/maven2/maven-jaxb2-plugin-core/0.8.1/maven-jaxb2-plugin-core-0.8.1.jar
[ERROR] urls[2] = file:/C:/Users/Public/Documents/maven/repository/com/sun/org/apache/xml/internal/resolver/20050927/resolver-20050927.jar
[ERROR] urls[3] = file:/C:/Users/Public/Documents/maven/repository/org/sonatype/plexus/plexus-build-api/0.0.7/plexus-build-api-0.0.7.jar
[ERROR] urls[4] = file:/C:/Users/Public/Documents/maven/repository/junit/junit/4.8.1/junit-4.8.1.jar
[ERROR] urls[5] = file:/C:/Users/Public/Documents/maven/repository/org/jfrog/maven/annomojo/maven-plugin-anno/1.3.1/maven-plugin-anno-1.3.1.jar
[ERROR] urls[6] = file:/C:/Users/Public/Documents/maven/repository/org/codehaus/plexus/plexus-utils/1.5.15/plexus-utils-1.5.15.jar
[ERROR] urls[7] = file:/C:/Users/Public/Documents/maven/repository/org/jvnet/jaxb2/maven2/maven-jaxb22-plugin/0.8.1/maven-jaxb22-plugin-0.8.1.jar
[ERROR] urls[8] = file:/C:/Users/Public/Documents/maven/repository/com/sun/xml/bind/jaxb-impl/2.2.5-b10/jaxb-impl-2.2.5-b10.jar
[ERROR] urls[9] = file:/C:/Users/Public/Documents/maven/repository/com/sun/xml/bind/jaxb-xjc/2.2.5-b10/jaxb-xjc-2.2.5-b10.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/d...ainerException

and my pom file is :

<plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId>
<artifactId>maven-jaxb2-plugin</artifactId>
<version>0.8.1</version>
<executions>
<execution>
<id>xsd-generate</id>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<generateDirectory>src/main/java</generateDirectory>
<generatePackage>com.db.accounting.application.ser ver.jaxbautogenerated</generatePackage>
<schemaDirectory>src/main/resources</schemaDirectory>
<includeSchemas>
<include>accounting.xsd</include>
</includeSchemas>
<extension>true</extension>

<plugins>

<plugin>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb2-basics</artifactId>
<version>0.5.3</version>
</plugin>
</plugins>
</configuration>
</execution>
</executions>
</plugin>
<dependency>
<groupId>stax</groupId>
<artifactId>stax</artifactId>
<version>1.2.0</version>
</dependency>
<dependency>
<groupId>com.sun.xml.bind</groupId>
<artifactId>jaxb-impl</artifactId>
<version>2.1.10</version>
</dependency>
<dependency>
<groupId>org.jvnet.jaxb2_commons</groupId>
<artifactId>jaxb-xjc</artifactId>
<version>2.1.10</version>
</dependency>
Can any one help on this please , what could be the reason for this. I am new to spring


Regards
Ravindar