- 
        1. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 11, 2007 10:28 AM (in response to mario_lanza)For the record, this is the first set of errors I get: 
 11 Sep 2007 16:17:03 INFO org.apache.myfaces.config.FacesConfigurator - Reading config jar:file:/C:/WorkspacePoC/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/webapps/testpoc/WEB-INF/lib/jboss-seam.jar!/META-INF/faces-config.xml
 11 Sep 2007 16:17:03 ERROR org.apache.commons.digester.Digester - Parse Error at line 2 column 14: Document is invalid: no grammar found.
 org.xml.sax.SAXParseException: Document is invalid: no grammar found.
 at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
- 
        2. Re: cannot start with Seam and JSF and Facelets, that is nopmuir Sep 11, 2007 4:51 PM (in response to mario_lanza)I would recommend starting with JBoss AS 4.2.1.GA, Seam 2 beta and the reference manual and examples in your download. When you want to create your own project try seam-gen. 
 N.B. Seam works best with an application server, but if you really just want to run tomcat, then perhaps the hibernate2 example will help
- 
        3. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 14, 2007 10:46 AM (in response to mario_lanza)Thank you, it's just that the example(s) wouldn't compile under Java 1.5.0_06-b05 and Ant 1.5.4: C:\jboss-seam-2.0.0.BETA1\examples\hibernate2>ant tomcat Buildfile: build.xml compile: [javac] Compiling 9 source files to C:\jboss-seam-2.0.0.BETA1\examples\hibernate2\build\classes [javac] C:\jboss-seam-2.0.0.BETA1\examples\hibernate2\src\org\jboss\seam\example\hibernate\AuthenticatorAction.java:3: identifier expected [javac] import static org.jboss.seam.ScopeType.SESSION; [javac] ^ [javac] C:\jboss-seam-2.0.0.BETA1\examples\hibernate2\src\org\jboss\seam\example\hibernate\AuthenticatorAction.java:3: '.' expected [javac] import static org.jboss.seam.ScopeType.SESSION; [javac] ^ 
- 
        4. Re: cannot start with Seam and JSF and Facelets, that is nopmuir Sep 14, 2007 10:50 AM (in response to mario_lanza)Seam requires Ant 1.6 
- 
        5. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 14, 2007 11:47 AM (in response to mario_lanza)But Ant 1.7 and 1.6.5 give exactly the same message... 
- 
        6. Re: cannot start with Seam and JSF and Facelets, that is nogoku2 Sep 14, 2007 12:00 PM (in response to mario_lanza)Are you sure you have Java 1.5.0_06-b05 installed correctly? 
 try
 java -version
 and
 javac -source 1.5
 If you get
 javac: invalid source release: 1.5
 If because your PATH locates a compiler that doesn't support java 1.5
 I think this is the problem because
 [javac] import static org.jboss.seam.ScopeType.SESSION;
 [javac] ^
 The static import is a new feature in JDK 1.5
 Hope this helps
- 
        7. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 14, 2007 1:48 PM (in response to mario_lanza)That was ok, but it hinted me to take a look at the environment variables and guess which version was JAVA_HOME pointing to... 
 Thank you very very much for your help :) now it compiles at least.
- 
        8. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 14, 2007 3:27 PM (in response to mario_lanza)For the record: the missing annotation messages come because of the missing jar jboss-j2ee.jar 
- 
        9. Re: cannot start with Seam and JSF and Facelets, that is nomario_lanza Sep 24, 2007 10:04 AM (in response to mario_lanza)I couldn't make Seam work in an existing project with Facelets (no JSP), backing beans (no Spring, no EJB) and the Eclipse plugin (no seam-gen). My aim was not to start from scratch but to convert an existing application. Apparently nobody else tried that. 
 Well, I'll look again into version 3.
 
     
    