Hello everyone.
I imported a WebRatio project and it works fine, but, create two projects and give me problems when I open the browser.
In a project working with a own database (import it) but I get this problem in the browser:
//---Project 1---//
An error occurred
The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,fetch-profile*,resultset*,(query|sql-query)*)".
Details:
Error creating service: page4 - WEB-INF/descr/page4.descr
Error creating service: _access - WEB-INF/descr/_access.descr
Error creating service: db3.hibernate - db3.hibernate
Could not parse mapping document from resource com/webratio/webapp/Community2item.hbm.xml
Could not parse mapping document from invalid mapping
The content of element type "class" must match "(meta*,subselect?,cache?,synchronize*,comment?,tuplizer*,(id|composite-id),discriminator?,natural-id?,(version|timestamp)?,(property|many-to-one|one-to-one|component|dynamic-component|properties|any|map|set|list|bag|idbag|array|primitive-array)*,((join*,subclass*)|joined-subclass*|union-subclass*),loader?,sql-insert?,sql-update?,sql-delete?,filter*,fetch-profile*,resultset*,(query|sql-query)*)".
Suggestions:
Run the 'Find Model Problems' command on the data model
Run the 'Generate Selection' command on the data model
//--- END - Project 1 ----//
In the other project, I created only an area, a page and a script to display "Hello World" and in the browser I get this error:
//---- Project 2 ---//
An error occurred
startup failed, script1374151760109.groovy: 1: unable to resolve class Hola @ line 1, column 6. 1 error
Details:
Error creating service: scu1 - WEB-INF/descr/scu1.descr
com.webratio.commons.transform.TransformException: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, script1374151760109.groovy: 1: unable to resolve class Hola
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed, script1374151760109.groovy: 1: unable to resolve class Hola
startup failed, script1374151760109.groovy: 1: unable to resolve class Hola @ line 1, column 6. 1 error
//---END - Project 2---//
I have no problems reported by WebRatio-Eclipse or problems with synchronization of database in both projects. Obviously something I'm doing wrong but do not see, because I did the examples: ACME, Book Store, etc..
Thank you very much,
Jose