Giter Site home page Giter Site logo

javaee-lab's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

javaee-lab's Issues

Issue with persistence generation, it still using h2 database instead Postgres

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

pom.txt

persistence.txt

What is wrong? Do you can post a example about by using real database connections?

How to deploy and debug into eclipse?

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!

"wildfly does not exist" when run "mvn -X wildfly:deploy"

I have problems to generate war,
using command line: mvn -X wildfly:deploy

"wildfly does not exist" when run "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:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

END LOG.


I reviewed settings.xml from mavenpath/conf/settings.xml
pluginGroups is empty:

I Add 1 line "wildfly":

org.wildfly.plugins ##

But I got the same result,

Please help me or fix pom.xml
thanks in advance.

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.