
: Extra bytes at the end of class file lomboktest/ApplicationĪt 1(Native Method)Īt (ClassLoader.java:763)Īt (SecureClassLoader.java:142)Īt (URLClassLoader.java:468)Īt $100(URLClassLoader.java:74)Īt $1.run(URLClassLoader.java:369)Īt $1.run(URLClassLoader.java:363)Īt (Native Method)Īt (URLClassLoader.java:362)Īt (ClassLoader.java:424)Īt $AppClassLoader.loadClass(Launcher.java:349)Īt (ClassLoader.java:357)Īt (LauncherHelper. It seems that the class file contains the bytecode twice (see screenshot). I then had a look into the bytecode and it struck me, that the first, typical bytes "CA FE BA BE" were repeated at some point in the file. I did some googling but wasn't able to find a solution, yet. See also: īut now, when trying to start tests or an application, we get the following error (see below). To get these two things compile together, we already had to modify a compiler setting "build process VM option": -javaagent:\org\projectlombok\lombok\1.18.16\lombok-1.18.16.jar. Now we can add the Lombok dependency to a project and start working with it.

In my current project, we use Lombok and the Eclipse compiler.
