Hi,
I am marshalling an unmarshalling an xml document in service mix.For this i
downloaded all the required jar files from Sun jwsdp2.0 and i created my own
jar file in the repository by this command
C:\endorsed>mvn -e install:install-file -Dfile=xsdlib.jar -DgroupId=skg.com
-DartifactId=jaxb2 -Dversion=1.0.0 -Dpackaging=jar

I have added these jar files in pom.xml file using
<dependency>
      <groupId>skg.com</groupId>
      <artifactId>jaxb2</artifactId>
      <version>1.0.0</version>
      <scope>compile</scope>
</dependency>

 Now while issuing the command mvn intall i am getting this error.

cannot find symbol : class AccessType location: package
javax.xml.bind.annotation

On the other hand when i build the project in eclipse using the same jar
files , i was able to run successfully. Can u suggest me where i am going
wrong.
-- 
View this message in context: 
http://www.nabble.com/Getting-Error-while-using-Jaxb-with-service-mix-tp18806297p18806297.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to