I am trying to follow the official Tapestry tutorial
Following steps were fine :
But as soon as I run the configuration from Eclipse, I get an error, whose log is here. (relevant part, according to me :
ioc.Registry Error building service proxy for service 'RegistryStartup'
)
Also, please notice that my issue is different from the one in this post : indeed, I've managed to set up Jetty 6 in Eclipse.
My OS is Ubuntu 13.10 64 bits.
On ubuntu i've installed Maven 3.1.1
I am using Eclipse Kepler Service Release 2
I installed the jetty plugin (RunJettyRun) 1.3.2 (Jetty 6).
Also, in Eclipse I set up the patch in order to use java8 runtime.
JVM arguments don't seem to be the cause for this issue.
The jdk8 compatibility guide does indeed list removed options that you may had to set to run large applications in Java 7. Those small example applications still run fine without using this setting in Java 7 though. In Java 8 there is no more need to set those options:
The command line flags
PermSize
andMaxPermSize
have been removed and are ignored.
The full stack trace indicates an incompatibility in the plastic library for bytecode manipulation. The root exception is thrown because the library's ClassReader
includes this check and it doesn't seem to care in which version the application has been compiled:
// checks the class version
if (readShort(6) > Opcodes.V1_7) {
throw new IllegalArgumentException();
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With