cfoch / SIGAD-business

Do What The F*ck You Want To Public License
0 stars 5 forks source link

Error al compilar: métodos duplicados en Usuario #110

Closed cfoch closed 6 years ago

cfoch commented 6 years ago

Al compilar sale el siguiente error:

--- maven-compiler-plugin:2.3.2:compile (default-compile) @ SIGAD-business ---
Compiling 107 source files to /home/cfoch/NetBeansProjects/SIGAD-business/target/classes
-------------------------------------------------------------
COMPILATION ERROR : 
-------------------------------------------------------------
com/sigad/sigad/business/Usuario.java:[409,33] error: method getDescuentoCliente() is already defined in class Usuario
com/sigad/sigad/business/Usuario.java:[416,16] error: method setDescuentoCliente(Set<ClienteDescuento>) is already defined in class Usuario
2 errors 
-------------------------------------------------------------
------------------------------------------------------------------------
BUILD FAILURE
------------------------------------------------------------------------
Total time: 4.567s
Finished at: Sun Jun 17 21:17:18 PET 2018
Final Memory: 19M/264M
------------------------------------------------------------------------
Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project SIGAD-business: Compilation failure: Compilation failure:
com/sigad/sigad/business/Usuario.java:[409,33] error: method getDescuentoCliente() is already defined in class Usuario
com/sigad/sigad/business/Usuario.java:[416,16] error: method setDescuentoCliente(Set<ClienteDescuento>) is already defined in class Usuario
-> [Help 1]

To see the full stack trace of the errors, re-run Maven with the -e switch.
Re-run Maven using the -X switch to enable full debug logging.

For more information about the errors and possible solutions, please read the following articles:
[Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException