Giter Club home page Giter Club logo

Comments (4)

jeffgbutler avatar jeffgbutler commented on September 12, 2024

I do not have this issue when I run the build. My best guess is that you either don't have the current source, or that something is corrupt in your local Maven repo.

If you continue to have questions, please use the mailing list. We do not use github for questions.

from generator.

Baozhb avatar Baozhb commented on September 12, 2024

Thanks for your reply and advice.
And after hours search and observation, I eventually can make a one fire mvn clean install to build the mybatis-generator SUCCESS.
Firstly, when I run mvn install and the command is FAILED, AND generate a Class "HelpMojo.java" which is under the Default package and one .class file "HelpMojo.class"(Error message is like the previous post). Then run mvn install secondly, I will got a SUCCESS.

The issue, I best guess is "maven-bundle-plugin" do not allow the a Class in a Default package.

So, my solution is to configure the "maven-plugin-plugin" plugin to generate the "HelpMojo.java" under a package called "mojo.help". It is work even I do not know why and I think this solution does not beautiful.

But anyway, It works.

If something I was wrong, please give me some information.

Thanks for your reply and advice again.

from generator.

jeffgbutler avatar jeffgbutler commented on September 12, 2024

I was able to duplicate this. It is an Eclipse bug, but there is a work around.

Your problem report was not very clear. This issue does not happen when you run maven from the command line, it only happens when you run maven through eclipse.

from generator.

Baozhb avatar Baozhb commented on September 12, 2024

Sorry for my poor English!

But the problem I encountered was happened exactly when I run maven from the command line.
When I import it to Eclipse, I also encounter a problem which is because the lower version of my m2eclipse-mavenarchiver.

Very glad to give some little help.

Thanks for you great work too!

from generator.

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.