ETMCopyutility - How to move artifacts from a GC project to another GC project area
Hi ,
I am using ETMCopyUtility 7.0.2 version. I am using the below command to move test plan from GC Project A , Stream A from one server to GC Project B stream B in different server.
java.exe -Dcom.ibm.team.repository.transport.client.protocol="TLSv1.2" -jar RQMCopyUtility.jar -s=server1/ProjectAUrl -us=User -pws=** -sc=StreamA -d=server2/ProjectB -dc=StreamB -a=testplan -l=importlogNewNEMA.txt .
While running the bat file i get below exception:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
at com.ibm.rqm.ct.CopyUtil.main(CopyUtil.java:45)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 1 more
Is it not possible to copy from one server to another server if both the project are GC enabled? Please let me know if the command arguments are right.
at com.ibm.rqm.ct.CopyUtil.main(CopyUtil.java:45)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 1 more
Is it not possible to copy from one server to another server if both the project are GC enabled? Please let me know if the command arguments are right.
One answer
Use Java 1.8.
I have seen exceptions like
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException
in several occasions where the user was unaware of the Java version and was using an incompatible Java Version.
Use java -version to see which version you run. I have found that Java 1.8 works best with these tools at the moment.