Comments (4)
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.
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.
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.
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)
- Add a constuctor with table name parameter HOT 4
- How can I use the project with gradle? HOT 4
- Plugin *** in context *** is invalid and will be ignored. HOT 2
- feature suggest: simplify the example class generated HOT 1
- rootClass can not generate HOT 2
- For snake case table names, is it possible to create a package? HOT 1
- In the latest version, mariadb sets<property name="nullCatalogMeasCurrent" value="true"/>; Not working HOT 4
- MyBatis3DynamicSql how generate xml file? HOT 1
- Fix code scanning alert - Failure to use HTTPS or SFTP URL in Maven artifact upload/download HOT 1
- How to customize the method name
- Why doesn't it support generating controllers and services? HOT 1
- Can you give me a hint about automatic generation? HOT 5
- Mybatis dynamic SQL cannot customize model annotations HOT 3
- If there are only two primary keys and both are selected, no generation will occur updateByPrimaryKeySelective HOT 1
- idea about make MBG more pluggable HOT 3
- Site Distribution Needs Completed On this Project
- Plugin API missing clientUpdateByPrimaryKeyMethodGenerated method for dynamic SQL runtime HOT 4
- Running MBG from Java with an XML Configuration File issue
- IntelliJ IDEA 2023.2.1 (Ultimate Edition) 报错 HOT 1
- Mybatis Generator for Eclipse no longer accessible HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
under mybatis-generator-maven-plugin projectfrom generator.