After adding a class which depends on the used controller-class and which has a 
“FrontEndSessionObject”-stereotype, as depicted in the  session-object-howto 
(http://www.andromda.org/andromda-bpm4struts-cartridge/howto5.html), a 
“maven”-command (after a succesfull “maven nuke”) results in the following 
error:

    [javac] Compiling 16 source files to 
D:projectsdecisiontestwebtargetclasses

D:projectsdecisiontestwebtargetsrcServiceLicenseRequestController.java:108:
 getLicenseRequestSession(javax.servle

t.http.HttpServletRequest) is already defined in 
Service.LicenseRequestController

    protected final Service.LicenseRequestSession 
getLicenseRequestSession(javax.servlet.http.HttpServletRequest request

)

                      
                      
      ^

D:projectsdecisiontestwebtargetsrcServiceLicenseRequestController.java:131:
 setLicenseRequestSession(javax.servle

t.http.HttpServletRequest,Service.LicenseRequestSession) is already defined 
in Service.LicenseRequestController

    protected final void 
setLicenseRequestSession(javax.servlet.http.HttpServletRequest request, 
Service.LicenseRequestS

ession object)

                      
   ^

D:projectsdecisiontestwebtargetsrcServiceLicenseRequestController.java:143:
 setLicenseRequestSession(javax.servle

t.http.HttpServletRequest,Service.LicenseRequestSession,boolean) is already 
defined in Service.LicenseRequestController

    protected final void 
setLicenseRequestSession(javax.servlet.http.HttpServletRequest request, 
Service.LicenseRequestS

ession object, boolean createSession)

                      
   ^

D:projectsdecisiontestwebtargetsrcServiceLicenseRequestController.java:161:
 removeLicenseRequestSession(javax.ser

vlet.http.HttpServletRequest) is already defined in 
Service.LicenseRequestController

    protected final void 
removeLicenseRequestSession(javax.servlet.http.HttpServletRequest 
request)



                      
   ^

4 errors



BUILD FAILED

Both the controller & session classes seem to have been generated properly. 



Any tips concerning solving the mentioned errors?
_________________________________________________________
Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=3639#3639
Posting to http://forum.andromda.org/ is preferred over posting to the mailing 
list!


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Andromda-user mailing list
Andromda-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to