New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run the application without maven? #254
Comments
You can find everything you need in the doc : https://docs.mangoo.io/deployment.html |
java -jar target\mangooioapp.jar I tried that but getting the below error
Handler.java:32) 2017-02-09 20:52:59,287 main ERROR Unable to invoke factory method in class clas
Handler.java:32) 2017-02-09 20:52:59,328 main ERROR Null object returned for Console in Appenders |
@ezcamlive
Could you test your project with a default log4j2.yaml from the archetype. Which version are you using? |
I used the 4.1.0 of archetype to create this project. I added below dependencies log4j configuration file is not touched |
If possible, could you pass me your pom.xml and log4j2.xaml so I can test it. Thanks. UPDATE: UPDATE2: |
Here are the files. Thank you.
…On Fri, Feb 10, 2017 at 7:44 AM, Sven Kubiak ***@***.***> wrote:
If possible, could you pass me your pom.xml and log4j2.xaml so I can test
it. Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMryT_5NUgoLGV9DYCKWeL2yXG9BZ8XRks5rbFuugaJpZM4L82yQ>
.
--
Thanks,
EzCamLive Support
|
I did run mvn clean package. Could you please add the 2 dependencies I mentioned above? It's possible they are getting another version of log4j. |
I have added the dependencies and the jar is created fine and starts without problems. The two dependencies are not adding another log4j version. Could you check if there is another log4j config file in the classpath? |
I will try to troubleshoot and let you know. Thank you.
…On Feb 10, 2017 9:15 AM, "Sven Kubiak" ***@***.***> wrote:
I have added the dependencies and the jar is created finde and starts
without problems. The 2 dependencies are not adding another log4j version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMryT4gvTfbJQx1sTevZiOc6xsxgphbFks5rbHDagaJpZM4L82yQ>
.
|
Any update on this? If this is a bug I would like to fix it :-D |
I have not tested yet but if you can leave it open I will test it over the
weekend.
…On Feb 14, 2017 2:20 PM, "Sven Kubiak" ***@***.***> wrote:
Any update on this? If this is a bug I would like to fix it :-D
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#254 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMryTwhfaIoq0ow_QIqR-Ndo8xpD7JBUks5rcf4bgaJpZM4L82yQ>
.
|
Great. Thanks for testing. |
It worked on a clean linux machine. Looks like something wrong with my windows local maven repo. |
How to run the application without maven? I have run the main class directly in eclipse but how do I package the jar for deployment and run without maven?
The text was updated successfully, but these errors were encountered: