jaxio / javaee-lab Goto Github PK
View Code? Open in Web Editor NEWCode generation Templates for pure Java EE 7 application
Home Page: http://www.jaxio.com/en/
License: Apache License 2.0
Code generation Templates for pure Java EE 7 application
Home Page: http://www.jaxio.com/en/
License: Apache License 2.0
Hi! In first place, thanks for the wonderful tool for generate jsf code.
In second place, sorry, English is not my native language
I am having issues by generating code, i am editting my pom.xml to use with postgres database, maven jdbc drivers are installed correctly, connection to database ok, all is ok.
Project is being generated by using h2 database, pom.xml is already edited for use postgres connection, DS is not being created by last script.
I am doing:
1.- mvn com.jaxio.celerio:bootstrap-maven-plugin:4.0.12:bootstrap
I choose 4 option, empty project.
I am deleting sql folder to avoid script executions problems.
I edit my pom.xml (look uploaded file)
I had installed jdbc drivers (maven postgres jar is same as wildfly deployed jar)
2.- mvn -Pmetadata generate-sources
Printed a "Write metadata.xml file to src/main/config/celerio-maven-plugin/metadata.xml" type message
3.- mvn -Pgen generate-sources
All is ok, then, i got a nice project using h2 database instead postgres
What is wrong? Do you can post a example about by using real database connections?
Hi guys! First of all, thank you very much for the tool, it's incredible.
Second, sorry about the English.
I want to know, how can I deploy and debug the project into the eclipse? Because it's very difficult to debug the project out of the eclipse and I spend a lot of time without the debug mode to find the troubles.
Thank you very much in advance!
I have problems to generate war,
using command line: mvn -X wildfly:deploy
LOG:
.........
[INFO] Processing war project
[INFO] Copying webapp webResources [C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src/main/config/wildfly] to [C:\spring_wks_wildfly\javaee7_wildfly_inheritance\target\javaee7_wildfly_inheritance]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.952 s
[INFO] Finished at: 2016-06-06T01:32:03-05:00
[INFO] Final Memory: 17M/159M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.5:war (default-war) on project javaee7_wildfly_inheritance: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: ## Failed to execute goal org.apache.maven.plugins:maven-war-plugin:2.5:war (default-war) on project javaee7_wildfly_inheritance: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:352)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:197)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-war of goal org.apache.maven.plugins:maven-war-plugin:2.5:war failed: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 24 more
Caused by: java.lang.IllegalStateException: basedir C:\spring_wks_wildfly\javaee7_wildfly_inheritance\src\main\config\wildfly does not exist
at org.codehaus.plexus.util.DirectoryScanner.scan(DirectoryScanner.java:308)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.getFilesToCopy(WarProjectPackagingTask.java:351)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.copyResources(WarProjectPackagingTask.java:299)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.handleWebResources(WarProjectPackagingTask.java:132)
at org.apache.maven.plugin.war.packaging.WarProjectPackagingTask.performPackaging(WarProjectPackagingTask.java:83)
at org.apache.maven.plugin.war.AbstractWarMojo.buildWebapp(AbstractWarMojo.java:483)
at org.apache.maven.plugin.war.AbstractWarMojo.buildExplodedWebapp(AbstractWarMojo.java:411)
at org.apache.maven.plugin.war.WarMojo.performPackaging(WarMojo.java:213)
at org.apache.maven.plugin.war.WarMojo.execute(WarMojo.java:176)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
... 25 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
END LOG.
I reviewed settings.xml from mavenpath/conf/settings.xml
pluginGroups is empty:
But I got the same result,
Please help me or fix pom.xml
thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.