Why Maven Uses Jdk 1.6 But My Java -Version Is 1.7

IntelliJ, Maven and Java 7

In the Maven Projects panel press the Settings button (or open Settings | Maven | Runner).

Make sure that JRE is set to the existing JRE configuration (1.6).

Gradle and IntelliJ with mixed Java/Scala project and SDK 1.6

Silly me! I had uninstalled JDK 7 without restarting IntelliJ so it was still pointing to some of the JDK 7 folders. This was a very odd experience!

Strange compilation error with Maven

It's both a compiler bug and a bug in your code.

On your side:

You're overriding the scope of the transient hibernate dependency so it isn't available at compile time, only at test time.

The annotations being used in MyClass in project C are available at runtime (otherwise hibernate wouldn't be able to reference them when running your project). This means that when you compile, javac needs to be able to load those annotations but it can't find them.

On the compiler's side side:

This should technically just be spit out with any other compiler generated errors/warnings. However, somebody missed something on the compiler's side so the compiler is crashing instead of appending to the list of warnings. I would recommend updating to the latest JDK, try again, and if it still doesn't work report a bug.

Maven & Axis2 plugin - different stub code generation

Unfortunately, all my attempts are unsuccessful.

I have to resign myself to what I was shown in another post (http://maven.40175.n5.nabble.com/Maven-amp-Axis2-plugin-different-stub-code-generation-tc5730726.html ): if I really require this type of functionality, I may have to do this work yourself. Otherwise ask Axis2 devs if someone
will volunteer to do it.



Related Topics



Leave a reply



Submit