4.0.0razorcontrole-de-ponto0.0.1warUm sistema de controlo de pontoprojectlombok.orghttp://projectlombok.org/mavenrepoISO-8859-12.1.2.Finalbr.com.caelumvraptor4.1.4org.projectlomboklombok0.11.6providedorg.jboss.weld.servletweld-servlet-core2.1.2.Finalprovidedorg.jboss.weldweld-core-impl2.1.2.Finalprovidedjavax.elel-api2.2providedorg.hibernatehibernate-validator-cdi5.1.1.Finaljavax.injectjavax.inject1providedjavax.servletjstl1.2providedorg.apache.velocityvelocity1.7org.apache.velocityvelocity-tools2.0org.hibernatehibernate-entitymanager4.3.8.Finalmysqlmysql-connector-java5.1.34runtimebr.com.caelum.vraptorvraptor-jpa4.0.2br.com.caelum.vraptorvraptor-java84.0.0.Finalcontrole-de-pontoorg.apache.maven.pluginsmaven-compiler-plugin3.11.81.81.8
我尝试编译时出错:
[INFO] ------------------------------------------------------------------------
[INFO] Building controle-de-ponto 0.0.1
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ controle-de-ponto ---
[INFO] Using 'ISO-8859-1' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ controle-de-ponto ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to C:\Users\Kennedy\Desktop\controle-de-ponto\target\classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/Users/Kennedy/Desktop/controle-de-ponto/src/main/java/br/com/caelum/vraptor/controller/IndexController.java:[37,16] cannot find symbol
symbol: method setNome(java.lang.String)
location: variable usuario of type org.razor.cponto.beans.Usuario
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.167 s
[INFO] Finished at: 2015-02-04T13:41:01-02:00
[INFO] Final Memory: 17M/204M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project controle-de-ponto: Compilation failure
[ERROR] /C:/Users/Kennedy/Desktop/controle-de-ponto/src/main/java/br/com/caelum/vraptor/controller/IndexController.java:[37,16] cannot find symbol
[ERROR] symbol: method setNome(java.lang.String)
[ERROR] location: variable usuario of type org.razor.cponto.beans.Usuario
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[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/MojoFailureException