java - How to install the first Ninja Web Framework application? -
I'm trying to install the first Ninja Web Framework application, but I failed in trial errors. Java version - Java version - Java version "1.7.0_67" Java (TM) SE Runtime Environment (Build 1.7.0_67-B01) Java HotSpot (TM) 64-bit server VM (24.65-B-04, Mixed Mode)
and my MV version is
$ mvn3 -version Apache Maven 3.0. 5 (r01de14724cdef164cd33c7c8c2fe155faf9602da; 2013-02-19-19: 51: 28-0600) Maven Home: / opt / local / share / java / maven 3 java version: 1.7.0_67, vendor: Oracle Corporation Java Home: Library / Java / Java Virtual Mikens / JDK 1.7.0_67.jdk / Content / Home / JR Default Locale: en_US, Platform Encoding: UTF-8 OS Name: "Mac OS X", version: "10.9.5", Arc: "x86_64", Family: "Mac" < Test run: 4, failures: 0, Errors: 4, Skipped: 0 , Time passed: 5.69 6 seconds & lt; & Lt; & Lt; Failure! Result: Test fault: testGetIndex (Controller API. ControllerDocestestTest): java.lang.NullPointerException: Ninja Injector can not be generated. Please check the logs for the next errors. TestGetIndex (Controller .API Controller DocTestest) testGetHelloWorldJson (Controller. API ControllerDocestestTest): java.lang.NullPointerException: Ninja Injector can not be generated. Please check the logs for the next errors. TestGetHelloWorldJson (Controller. API Controller Doctorstest) Test run: 4, failures: 0, Errors: 4, omitted: 0 [INFO] ---------------------- --- ----------------------------------------------- [INFO] Construction failure [INFO] ----------------------------------------- ---- --------------------------- [INFO] Total Time: 20.261s [INFO] Finished: Fri 10 Oct 13:22 : 47 CDT 2014 [INFO] Last Memory: 20m / 125m [INFO] -------------------------------- ----- ----------------------------------- [Error] Target org.apache.maven Failed to execute plugins: Maven-surefire-plugin: 2.10: test on project ninja (default Test): There are test failures. [Error] [Error] Please see / user / gorani / development / ninja / target / accurate-report for individual test results. [Error] - & gt; [Help 1] [Error] [Error] To see the complete stack traces of errors, re-run Maven with the -i switch [ERROR] To enable full debug logging, Maven, using the X switch, Run. [Error] [Error] For more information about errors and possible solutions, please read the following article: [Error] [Help1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Any ideas about what is wrong and how can I solve it?
One thing that works without any issue is Maven 3.0. Can you try to use Maven 3.1 (or 3.2)? It should fix it.
Comments
Post a Comment