Coder Social home page Coder Social logo

Comments (3)

quarkus-bot avatar quarkus-bot commented on July 21, 2024

/cc @quarkusio/devtools (maven)

from quarkus.

gemmellr avatar gemmellr commented on July 21, 2024

From Zulip chat this was apparently expected/intended for now, because updating quarkus-maven-plugin to targeting Java 17 caused Sisu issues and CI failures even when running on Java 17:

https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Plugins.20compiled.20for.20Java.2011.20despite.20Quarkus.20requiring.2017.3F/near/426114221

From which it seems that Maven 3.9.6 is required to be used to successfully target Java 17+ for plugins:
https://issues.apache.org/jira/browse/MNG-7913 and
https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Plugins.20compiled.20for.20Java.2011.20despite.20Quarkus.20requiring.2017.3F/near/426117614

I'll add an enforcer rule to the quickstart I referenced so that folks do get a more obvious error there, albeit it still prints the initial QuarkusBootstrapProvider related problems, it just then wont report the NoSuchElementException but instead explicitly say 'Java 17 or newer is required' instead.

I'll leave this issue open for now for any future improvements (such as going to a 3.9.6 minimum and being able to properly target the plugin to Java 17), and for to help explain things for other users if they hit it.

from quarkus.

alizard0 avatar alizard0 commented on July 21, 2024

Hey folks, I had similar problem with java v11 and quarkus-maven-plugin v3.8.4. The error was : Unable to load the mojo 'generate-code'

After reading your comments, I tried to compile running java 17 and everything worked. Hope it helps someone!

from quarkus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.