Hi all Last week, I did a lot of projects like the following for JSF Basic
mvn install eclipse:eclipse or mvn was working properly. Now I created new project with a name myproject or mydeneme When I did mvn jetty:run-war it works at http://localhost:8080/ But when I do mvn install eclipse:eclipse or mvn I got the following error: --------------------------------------------------------------------------------------- Logout: PasswordHint: [INFO] [talledLocalContainer] 03.Oca.2008 14:43:41 org.apache.catalina.core.Stan dardWrapperValve invoke [INFO] [talledLocalContainer] SEVERE: Servlet.service() for servlet faces threw exception [INFO] [talledLocalContainer] java.lang.NullPointerException .... [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] [talledLocalContainer] at com.opensymphony.module.sitemesh.filter.PageF ilter.parsePage(PageFilter.java:118) [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: C:\appfuse\Source\mydeneme\src\test\resources\web-tests.xml:50: JavaScript error loading page http://localhost:8081/mydeneme-1.0-SNAPSHOT/passwordHint.html?user name=admin: Wrapped com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException : 500 Internal Server Error for http://localhost:8081/mydeneme-1.0-SNAPSHOT/pass wordHint.html (script in http://localhost:8081/mydeneme-1.0-SNAPSHOT/passwordHin t.html?username=admin from (88, 337) to (0, 0)#71) --------------------------------------------------------------------------------------- After seeing this, I decided to define email settings in mail.properties file at src\main\resources Then I did mvn install eclipse:eclipse I got the following error: Logout: PasswordHint: Signup: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing ant tasks Embedded error: The following error occurred while executing this line: C:\appfuse\Source\mydeneme\src\test\resources\web-tests.xml:148: JavaScript erro r loading page http://localhost:8081/mydeneme-1.0-SNAPSHOT/signup.html: TypeErro r: Cannot find function activate. (http://localhost:8081/mydeneme-1.0-SNAPSHOT/s cripts/prototype.js;jsessionid=5E2B687766010393255599B4AB14693E#1956) Now, I'm wondering what happened in 2008 to do not let mvn install eclipse:eclipse work properly. By the way my locale is Turkish and mvn jetty:run-war works... and the log file's (target\tomcat5x\container\logs) last two row is 127.0.0.1 - - [03/Jan/2008:15:02:49 +0200] "GET /mydeneme-1.0-SNAPSHOT/scripts/global.js HTTP/1.1" 200 12375 127.0.0.1 - - [03/Jan/2008:15:02:49 +0200] "POST /mydeneme-1.0-SNAPSHOT/j_security_check HTTP/1.1" 302 - and velocity.log in project directory: hu Jan 03 15:02:40 EET 2008 [info] Velocity successfully started. Thu Jan 03 15:02:51 EET 2008 [info] Velocimacro : added new VM : #displayCssMenu( menu ) : source = cssHorizontalMenu.vm Thu Jan 03 15:02:51 EET 2008 [error] VM #displayCssMenu: error : too few arguments to macro. Wanted 1 got 0 Thu Jan 03 15:02:51 EET 2008 [info] ResourceManager : found cssHorizontalMenu.vm with loader org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:51 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:51 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:51 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:51 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:51 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:52 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:52 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:52 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of addition operation has null value. Operation not possible. cssHorizontalMenu.vm [line 2, column 28] Thu Jan 03 15:02:52 EET 2008 [error] RHS of #set statement is null. Context will not be modified. cssHorizontalMenu.vm [line 2, column 1] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 9, column 23] Thu Jan 03 15:02:52 EET 2008 [error] Left side ($count) of '==' operation has null value. If a reference, it may not be in the context. Operation not possible. cssHorizontalMenu.vm [line 55, column 21] Thanks in advance Bilgin -- View this message in context: http://www.nabble.com/Last-week%2C-mvn-install-eclipse%3Aeclipse-worked-but-now-not-works-tp14596590s2369p14596590.html Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
