users@glassfish.java.net

[migrate2glassfish] exception

From: <glassfish_at_javadesktop.org>
Date: Fri, 25 Jun 2010 11:26:08 PDT

Hi,

after starting migrate2glassfish in GUI mode, selecting a BEA 8.1 project and an empty folder as destination I get the following exception.

Any hints?

Thanks - Mark

C:\Users\Mark\Desktop\migrate2glassfish-1_01\migrate2glassfish\bin>asmigrate.cmd -u
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_20
ASMT_HOME=C:\Users\Mark\Desktop\migrate2glassfish-1_01\migrate2glassfish
J2EE_HOME=C:\Sun\SDK
Checking available space for dir: C:\Migration\GF\App
Exception in thread "Thread-5" java.lang.NoSuchMethodError: javax.xml.bind.annotation.XmlAccessorType.value()Ljavax/xml/bind/annotation/AccessType;
        at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getAccessType(ClassInfoImpl.java:244)
        at com.sun.xml.bind.v2.model.impl.ClassInfoImpl.getProperties(ClassInfoImpl.java:195)
        at com.sun.xml.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(RuntimeClassInfoImpl.java:79)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getClassInfo(ModelBuilder.java:112)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:45)
        at com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(RuntimeModelBuilder.java:37)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:141)
        at com.sun.xml.bind.v2.model.impl.RegistryInfoImpl.<init>(RegistryInfoImpl.java:50)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.addRegistry(ModelBuilder.java:183)
        at com.sun.xml.bind.v2.model.impl.ModelBuilder.getTypeInfo(ModelBuilder.java:152)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:306)
        at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:179)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:70)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:50)
        at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:118)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:128)
        at javax.xml.bind.ContextFinder.find(ContextFinder.java:277)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244)
        at sun.iasmt.util.ASMTJaxbContext.<init>(ASMTJaxbContext.java:75)
        at sun.iasmt.convertors.common.xmlconvertor.EjbJarReader.read(EjbJarReader.java:210)
        at sun.iasmt.control.SJSMTXmlFileHandler.readXMLFile(SJSMTXmlFileHandler.java:415)
        at sun.iasmt.control.ASMTController.startupEngineAndConvert(ASMTController.java:352)
        at sun.iasmt.control.ASMTController.startupEngineAndConvert(ASMTController.java:201)
        at sun.iasmt.user.cmd.CommandCallController.<init>(CommandCallController.java:89)
        at sun.iasmt.user.gui.MigrationInitiator.run(MigrationInitiator.java:235)
[Message sent by forum member 'mark_d']

http://forums.java.net/jive/thread.jspa?messageID=475854