Hello,

I don't succeed to generate without errors the web module after generating and 
installing my new entities in the core module.
I have been faced with 2 errors successively and I don't know if they are 
linked together.

Environment :

Appfuse Version: 2.1.0-M1, full-source, multimodule
         
Environment: Windows

Java 1.5.0_22
Apache Maven 2.2.1


What I've done :
on core module
1)mvn appfuse-gen -Dentity=team
2)mvn install -Dentity=team
==> build successfull

on web module
3)mvn appfuse-gen -Dentity=team

I obtain error message :
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] String index out of range: 1
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.StringIndexOutOfBoundsException: String index out of range: 1
        at java.lang.String.charAt(String.java:558)
        at java.util.regex.Matcher.appendReplacement(Matcher.java:696)
        at java.util.regex.Matcher.replaceAll(Matcher.java:806)
        at java.lang.String.replaceAll(String.java:2000)
        at org.appfuse.mojo.exporter.AppFuseGeneratorMojo.checkEntityExists(AppF
useGeneratorMojo.java:333)
        at org.appfuse.mojo.exporter.AppFuseGeneratorMojo.addEntityToHibernateCf
gXml(AppFuseGeneratorMojo.java:305) ....

So I decided to run :
3 bis)mvn appfuse-gen -Dentity=team -Dentity.check=false:
and it succeed.
Then
4)mvn install -Dentity=team
and know I obtain new BUILD ERROR :

SearchTeams:
[INFO] [talledLocalContainer] WARN [http-8081-Processor16] 
PageNotFound.noHandlerFound(1077) | No mapping found for HTTP request with URI 
[/web-1.0-SNAPSHOT/dasTeams.html] in DispatcherServlet with name 'dispatcher'

Could you tell me what i did wrong ?

Thanks
                                          
_________________________________________________________________
Hotmail et MSN dans la poche? HOTMAIL et MSN sont dispo gratuitement sur votre 
téléphone!
http://www.messengersurvotremobile.com/?d=Hotmail

Reply via email to