Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Objectteams » Migrating functional OTJ Application to Maven project
Migrating functional OTJ Application to Maven project [message #1850058] Mon, 14 February 2022 10:14 Go to next message
Ilja Shmelkin is currently offline Ilja ShmelkinFriend
Messages: 5
Registered: May 2019
Junior Member
Hello together,

I have created a fully functional OTJ application that compiles and runs fine when executed within eclipse and also via command-line (more details later). While further extending this application, I came across the issue that some new dependencies (e.g., docker-api) have long dependency chains which need to be included in the application classpath for the application to properly execute.
To ease this, I decided to migrate the project to a Maven project, which is where my problems begin.

From https://git.eclipse.org/c/objectteams/org.eclipse.objectteams.git/ I tried to extract a proper pom.xml for my application (attached). Obviously, I'm missing something, as the project does compile but not run with my configuration. The reason for that is not clear to me, however, I think that it has something to do with either the classpath, the javaagent, or the xbootclasspath not being set properly during execution.

The application executes the main function (I know that because the IP of the local machine is printed in the console), however, as soon as OTJ classes are accessed, the execution fails with the following error:
192.168.188.28
[WARNING] 
java.lang.IncompatibleClassChangeError: Class scenario1.componentbases.MonitoringBase does not implement the requested interface org.objectteams.IBoundBase2
	at scenario1.AutoscalingSlaveTeam$__OT__MonitoringRole.<init>(AutoscalingSlaveTeam.java:45)
	at scenario1.AutoscalingSlaveTeam._OT$liftTo$MonitoringRole(AutoscalingSlaveTeam.java:36)
	at scenario1.AutoscalingSlaveTeam.<init>(AutoscalingSlaveTeam.java:213)
	at scenario1.Main.main(Main.java:68)
	at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:254)
	at java.base/java.lang.Thread.run(Thread.java:832)


As included in the pom.xml, the application needs the following arguments to properly execute:
				<plugin>
					<groupId>org.codehaus.mojo</groupId>
					<artifactId>exec-maven-plugin</artifactId>
					<configuration>
						<executable>java</executable>
						<mainClass>scenario1.Main</mainClass>
						<arguments>
							<argument>--add-reads=java.base=ALL-UNNAMED</argument>
							<argument>--add-reads=jdk.net=ALL-UNNAMED</argument>
							<argument>--add-reads=java.management=ALL-UNNAMED</argument>
							<argument>--add-reads=jdk.management.jfr=ALL-UNNAMED</argument>
							<argument>--add-reads=jdk.localedata=ALL-UNNAMED</argument>
							<argument>${otj.bootcp.arg}</argument> resolves to: -Xbootclasspath/a:${project.basedir}/libs/org.eclipse.objectteams.runtime_2.8.2_2.8.2.202103070142.jar
							<argument>${otj.agent.arg}</argument> resolves to: -javaagent:${project.basedir}/libs/otredyn_agent.jar
							<argument>-classpath:libs/otredyn.jar:libs/org.eclipse.objectteams.runtime_2.8.2_2.8.2.202103070142.jar</argument>
						</arguments>
					</configuration>
				</plugin>



Can someone help me with fixing my pom.xml?
EDIT:

I just found the following resources
https://download.eclipse.org/objectteams/maven/3/sites/objectteams-otdre-parent-pom/usage.html
https://download.eclipse.org/objectteams/maven/3/sites/objectteams-compile-test/usage.html
https://git.eclipse.org/c/objectteams/org.eclipse.objectteams.git/tree/maven/testproject/pom.xml

Will following those make my application run properly?

  • Attachment: pom.xml
    (Size: 5.44KB, Downloaded 143 times)

[Updated on: Mon, 14 February 2022 11:27]

Report message to a moderator

Re: Migrating functional OTJ Application to Maven project [message #1850062 is a reply to message #1850058] Mon, 14 February 2022 13:18 Go to previous messageGo to next message
Ilja Shmelkin is currently offline Ilja ShmelkinFriend
Messages: 5
Registered: May 2019
Junior Member
Other than that, from the links in my edit, I figured that my pom.xml should look similar to this:
<?xml version="1.0" encoding="UTF-8"?>

<project xmlns="http://maven.apache.org/POM/4.0.0"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>

	<groupId>org.eclipse.objectteams.example.rbmapek</groupId>
	<artifactId>rbmapek</artifactId>
	<version>1.0-SNAPSHOT</version>

	<name>rbmapek</name>
	<!-- FIXME change it to the project's website -->
	<url>http://www.example.com</url>


	<repositories>
		<repository>
			<id>ObjectTeamsRepository</id>
			<name>Object Teams Repository</name>
			<url>http://download.eclipse.org/objectteams/maven/3/repository</url>
		</repository>
	</repositories>
	<parent>
		<groupId>org.eclipse.objectteams</groupId>
		<artifactId>objectteams-otdre-parent-pom</artifactId>
		<version>2.7.6</version>
	</parent>
	<dependencies>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.11</version>
			<scope>test</scope>
		</dependency>
	</dependencies>



</project>


As described here https://download.eclipse.org/objectteams/maven/3/sites/objectteams-compile-test/usage.html, this should allow me to execute my application as a JUnit test.
Unfortunately, when executing mvn test, I get the following errors (JDK version 17.0.2, Maven versions 3.2.5 and 3.8.4 were tried) :

[code][INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building rbmapek 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ rbmapek ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\doktor\otj-workspace\maven\rbmapek\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ rbmapek ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ rbmapek ---
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory D:\doktor\otj-workspace\maven\rbmapek\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ rbmapek ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ rbmapek ---
[INFO] Surefire report directory: D:\doktor\otj-workspace\maven\rbmapek\target\surefire-reports

-------------------------------------------------------
T E S T S
-------------------------------------------------------
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/jdk.internal.vm.PostVMInitHook.getEnvPrivileged(PostVMInitHook.java:101)
at java.base/jdk.internal.vm.PostVMInitHook.getOSSpecificConfigFilePath(PostVMInitHook.java:89)
at java.base/jdk.internal.vm.PostVMInitHook.getConfigFilePrivileged(PostVMInitHook.java:61)
at java.base/jdk.internal.vm.PostVMInitHook.trackJavaUsage(PostVMInitHook.java:42)
at java.base/jdk.internal.vm.PostVMInitHook.run(PostVMInitHook.java:26)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/jdk.internal.vm.PostVMInitHook$2.run(PostVMInitHook.java:103)
at java.base/jdk.internal.vm.PostVMInitHook$2.run(PostVMInitHook.java:101)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
at java.base/jdk.internal.vm.PostVMInitHook.getEnvPrivileged(PostVMInitHook.java:101)
at java.base/jdk.internal.vm.PostVMInitHook.getOSSpecificConfigFilePath(PostVMInitHook.java:89)
at java.base/jdk.internal.vm.PostVMInitHook.getConfigFilePrivileged(PostVMInitHook.java:61)
at java.base/jdk.internal.vm.PostVMInitHook.trackJavaUsage(PostVMInitHook.java:42)
at java.base/jdk.internal.vm.PostVMInitHook.run(PostVMInitHook.java:26)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/jdk.internal.vm.PostVMInitHook.getConfigFilePrivileged(PostVMInitHook.java:67)
at java.base/jdk.internal.vm.PostVMInitHook.trackJavaUsage(PostVMInitHook.java:42)
at java.base/jdk.internal.vm.PostVMInitHook.run(PostVMInitHook.java:26)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.nio.cs.MS1252.newDecoder(MS1252.java:51)
at java.base/java.lang.String.<init>(String.java:611)
at java.base/java.lang.String.<init>(String.java:487)
at java.base/java.lang.String.<init>(String.java:1358)
at java.base/sun.launcher.LauncherHelper.makePlatformString(LauncherHelper.java:884)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.nio.cs.MS1252.newDecoder(MS1252.java:51)
at java.base/java.lang.String.<init>(String.java:611)
at java.base/java.lang.String.<init>(String.java:487)
at java.base/java.lang.String.<init>(String.java:1358)
at java.base/sun.launcher.LauncherHelper.makePlatformString(LauncherHelper.java:884)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.nio.cs.MS1252.newDecoder(MS1252.java:51)
at java.base/java.lang.String.<init>(String.java:611)
at java.base/java.lang.String.<init>(String.java:487)
at java.base/java.lang.String.<init>(String.java:1358)
at java.base/sun.launcher.LauncherHelper.makePlatformString(LauncherHelper.java:884)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.getSuperclass(AbstractBoundClass.java:406)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:72)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:1)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:130)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:135)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:125)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:467)
at java.base/sun.launcher.LauncherHelper.loadMainClass(LauncherHelper.java:780)
at java.base/sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:675)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.getSuperclass(AbstractBoundClass.java:406)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:72)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:1)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:130)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:135)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:125)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.PropertiesWrapper.getFileProperty(PropertiesWrapper.java:85)
at org.apache.maven.surefire.booter.BooterDeserializer.deserialize(BooterDeserializer.java:67)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:63)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.base/java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1262)
at java.base/java.lang.System$2.findBootstrapClassOrNull(System.java:2310)
at java.base/jdk.internal.loader.ClassLoaders$BootClassLoader.loadClassOrNull(ClassLoaders.java:140)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:700)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:669)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.PropertiesWrapper.getClasspath(PropertiesWrapper.java:140)
at org.apache.maven.surefire.booter.ClasspathConfiguration.<init>(ClasspathConfiguration.java:66)
at org.apache.maven.surefire.booter.BooterDeserializer.getProviderConfiguration(BooterDeserializer.java:105)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:64)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.getSuperclass(AbstractBoundClass.java:406)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:72)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:1)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:130)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:135)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:125)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.PropertiesWrapper.getClasspath(PropertiesWrapper.java:140)
at org.apache.maven.surefire.booter.ClasspathConfiguration.<init>(ClasspathConfiguration.java:66)
at org.apache.maven.surefire.booter.BooterDeserializer.getProviderConfiguration(BooterDeserializer.java:105)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:64)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmWritableBoundClass.startTransformation(AsmWritableBoundClass.java:123)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.handleTaskList(AbstractBoundClass.java:713)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.transformAtLoadTime(AbstractBoundClass.java:386)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:127)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.findBootstrapClass(Native Method)
at java.base/java.lang.ClassLoader.findBootstrapClassOrNull(ClassLoader.java:1262)
at java.base/java.lang.System$2.findBootstrapClassOrNull(System.java:2310)
at java.base/jdk.internal.loader.ClassLoaders$BootClassLoader.loadClassOrNull(ClassLoaders.java:140)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:700)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:669)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.PropertiesWrapper.getClasspath(PropertiesWrapper.java:140)
at org.apache.maven.surefire.booter.ClasspathConfiguration.<init>(ClasspathConfiguration.java:66)
at org.apache.maven.surefire.booter.BooterDeserializer.getProviderConfiguration(BooterDeserializer.java:105)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:64)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.getSuperclass(AbstractBoundClass.java:406)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:72)
at org.eclipse.objectteams.otredyn.bytecode.AbstractTeam.getSuperclass(AbstractTeam.java:1)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:130)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:135)
at org.eclipse.objectteams.otredyn.bytecode.ClassRepository.linkClassWithSuperclass(ClassRepository.java:135)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:125)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.PropertiesWrapper.getClasspath(PropertiesWrapper.java:140)
at org.apache.maven.surefire.booter.ClasspathConfiguration.<init>(ClasspathConfiguration.java:66)
at org.apache.maven.surefire.booter.BooterDeserializer.getProviderConfiguration(BooterDeserializer.java:105)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:64)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97)
at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:228)
at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:128)
at org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:239)
at org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:122)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.io.FilePermission.<clinit>(FilePermission.java:260)
at java.base/sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:233)
at java.base/java.net.URLClassLoader.getPermissions(URLClassLoader.java:725)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:226)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:222)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at java.base/java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:222)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97)
at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:228)
at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:128)
at org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:239)
at org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:122)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.io.FilePermission.init(FilePermission.java:319)
at java.base/java.io.FilePermission.<init>(FilePermission.java:490)
at java.base/sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:234)
at java.base/java.net.URLClassLoader.getPermissions(URLClassLoader.java:725)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:226)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:222)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at java.base/java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:222)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97)
at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:228)
at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:128)
at org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:239)
at org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:122)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.security.util.FilePermCompat.<clinit>(FilePermCompat.java:45)
at java.base/java.io.FilePermission.init(FilePermission.java:319)
at java.base/java.io.FilePermission.<init>(FilePermission.java:490)
at java.base/sun.net.www.protocol.file.FileURLConnection.getPermission(FileURLConnection.java:234)
at java.base/java.net.URLClassLoader.getPermissions(URLClassLoader.java:725)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:226)
at java.base/java.security.SecureClassLoader$1.apply(SecureClassLoader.java:222)
at java.base/java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1708)
at java.base/java.security.SecureClassLoader.getProtectionDomain(SecureClassLoader.java:222)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/java.net.URLClassLoader.defineClass(URLClassLoader.java:524)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:427)
at java.base/java.net.URLClassLoader$1.run(URLClassLoader.java:421)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:712)
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:420)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.booter.IsolatedClassLoader.loadClass(IsolatedClassLoader.java:97)
at org.apache.maven.surefire.util.ReflectionUtils.loadClass(ReflectionUtils.java:228)
at org.apache.maven.surefire.util.ReflectionUtils.instantiateOneArg(ReflectionUtils.java:128)
at org.apache.maven.surefire.booter.SurefireReflector.instantiateProvider(SurefireReflector.java:239)
at org.apache.maven.surefire.booter.ProviderFactory.createProvider(ProviderFactory.java:122)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:81)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/jdk.internal.loader.URLClassPath$FileLoader.getResource(URLClassPath.java:1263)
at java.base/jdk.internal.loader.URLClassPath.getResource(URLClassPath.java:319)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:757)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.util.DefaultScanResult.loadClass(DefaultScanResult.java:131)
at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:95)
at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 59
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012)
at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
at org.apache.maven.surefire.util.DefaultScanResult.loadClass(DefaultScanResult.java:131)
at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:95)
at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:437)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:625)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:623)
at java.base/java.lang.reflect.Executable.getDeclaredAnnotations(Executable.java:611)
at java.base/java.lang.reflect.Method.getDeclaredAnnotations(Method.java:747)
at java.base/java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:549)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.checkforTestAnnotatedMethod(JUnit4TestChecker.java:87)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.isValidJUnit4Test(JUnit4TestChecker.java:74)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)
at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.reflect.generics.parser.SignatureParser.parsePackageNameAndSimpleClassTypeSignature(SignatureParser.java:332)
at java.base/sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:304)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:283)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:277)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSignature(SignatureParser.java:469)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSig(SignatureParser.java:188)
at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:438)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:625)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:623)
at java.base/java.lang.reflect.Executable.getDeclaredAnnotations(Executable.java:611)
at java.base/java.lang.reflect.Method.getDeclaredAnnotations(Method.java:747)
at java.base/java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:549)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.checkforTestAnnotatedMethod(JUnit4TestChecker.java:87)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.isValidJUnit4Test(JUnit4TestChecker.java:74)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)
at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransformer.java:244)
at java.instrument/sun.instrument.TransformerManager.transform(TransformerManager.java:188)
at java.instrument/sun.instrument.InstrumentationImpl.transform(InstrumentationImpl.java:541)
at java.base/sun.reflect.generics.parser.SignatureParser.parsePackageNameAndSimpleClassTypeSignature(SignatureParser.java:332)
at java.base/sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(SignatureParser.java:304)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:283)
at java.base/sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(SignatureParser.java:277)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSignature(SignatureParser.java:469)
at java.base/sun.reflect.generics.parser.SignatureParser.parseTypeSig(SignatureParser.java:188)
at java.base/sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:438)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:241)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:121)
at java.base/sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:625)
at java.base/java.lang.reflect.Executable.declaredAnnotations(Executable.java:623)
at java.base/java.lang.reflect.Executable.getDeclaredAnnotations(Executable.java:611)
at java.base/java.lang.reflect.Method.getDeclaredAnnotations(Method.java:747)
at java.base/java.lang.reflect.AccessibleObject.getAnnotations(AccessibleObject.java:549)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.checkforTestAnnotatedMethod(JUnit4TestChecker.java:87)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.isValidJUnit4Test(JUnit4TestChecker.java:74)
at org.apache.maven.surefire.common.junit4.JUnit4TestChecker.accept(JUnit4TestChecker.java:51)
at org.apache.maven.surefire.util.DefaultScanResult.applyFilter(DefaultScanResult.java:97)
at org.apache.maven.surefire.junit4.JUnit4Provider.scanClassPath(JUnit4Provider.java:194)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:92)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
java.lang.IllegalArgumentException: Unsupported class file major version 61
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:195)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:176)
at org.objectweb.asm.ClassReader.<init>(ClassReader.java:162)
at org.eclipse.objectteams.otredyn.bytecode.asm.AsmBoundClass.parseBytecode(AsmBoundClass.java:101)
at org.eclipse.objectteams.otredyn.bytecode.AbstractBoundClass.isInterface(AbstractBoundClass.java:308)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:124)
at org.eclipse.objectteams.otredyn.transformer.jplis.ObjectTeamsTransformer.transform(ObjectTeamsTransformer.java:75)
at java.instrument/java.lang.instrument.ClassFileTransformer.transform(ClassFileTransf

[Updated on: Mon, 14 February 2022 13:21]

Report message to a moderator

Re: Migrating functional OTJ Application to Maven project [message #1850098 is a reply to message #1850062] Tue, 15 February 2022 18:17 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1845
Registered: July 2009
Senior Member
From scanning your post, first I should confirm that the documentation you found in and around https://download.eclipse.org/objectteams/maven/3/sites/objectteams-otdre-parent-pom/dependencies.html should be suitable for your purpose of building an OT/J application (no OSGi that is).

Unfortunately I didn't release the latest versions for use via maven. So for the moment you'd have to make do with 2.7.6, which in its dependencies[1] lists asm version 7.1. Looking at the asm site [2], I can see that version 7.1 supports Java versions up-to JDK 13. So running on Java 17 will fail in asm, as the posted exception shows.

Do you have JDK 11 around for testing (being the latest LTS JDK compatible with asm 7.1)? Hopefully this will get you unblocked. You may also want to fix your compile target version to 11.

best,
Stephan

[1] https://download.eclipse.org/objectteams/maven/3/sites/objectteams-otdre-parent-pom/dependencies.html
[2] https://asm.ow2.io/versions.html
Previous Topic:Classpath problems when running OTJ test suite
Goto Forum:
  


Current Time: Wed Dec 07 02:42:22 GMT 2022

Powered by FUDForum. Page generated in 0.02152 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top