-
1. Re: Seam 3 tutorial
kaczortrex Sep 30, 2010 3:05 AM (in response to abidz05)What do you need? - simple web app help, configuration help or something else?
-
2. Re: Seam 3 tutorial
abidz05 Sep 30, 2010 3:29 AM (in response to abidz05)I want to start a simple web app
-
3. Re: Seam 3 tutorial
kaczortrex Sep 30, 2010 5:36 AM (in response to abidz05)so maybe GetStarted page will be enough for You - link.
Another easy way for simple web app is adding jboss-javaee 6.0 dependency to your maven project
<dependency> <groupId> org.jboss.spec </groupId> <artifactId> jboss-javaee-6.0 </artifactId> <version> 1.0.0.Beta7 </version> <type> pom </type> <scope> provided </scope> </dependency>
-
4. Re: Seam 3 tutorial
kaczortrex Sep 30, 2010 5:39 AM (in response to abidz05)i'm sry for not formatted code - i can't find edit option so i repaste it
<dependency> <groupId>org.jboss.spec</groupId> <artifactId>jboss-javaee-6.0</artifactId> <version>1.0.0.Beta7</version> <type>pom</type> <scope>provided</scope> </dependency>
-
5. Re: Seam 3 tutorial
abidz05 Sep 30, 2010 11:35 PM (in response to abidz05)thank you for your help. i'm getting the following error.
[ERROR] Failed to execute goal on project myproj: Missing: ---------- 1) org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Beta7 Path to dependency: 1) seamp:myproj:pom:pom:1.0.0-SNAPSHOT 2) org.jboss.spec:jboss-javaee-6.0:pom:1.0.0.Beta7 ---------- 1 required artifact is missing. for artifact: seamp:myproj:pom:1.0.0-SNAPSHOT from the specified remote repositories: repository.jboss.org (http://repository.jboss.org/maven2, releases=true, snapshots=true), central (http://repo1.maven.org/maven2, releases=true, snapshots=false) -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MultipleArtifactsNotFoundException
-
6. Re: Seam 3 tutorial
kaczortrex Oct 1, 2010 7:59 AM (in response to abidz05)hi, what version of maven do You use?
jboss maven respository requires maven3 (i'm almost sure of that)
-
7. Re: Seam 3 tutorial
abidz05 Oct 1, 2010 8:28 AM (in response to abidz05)I created the project with m2eclipse plugin
-
8. Re: Seam 3 tutorial
kaczortrex Oct 1, 2010 8:37 AM (in response to abidz05)yes i have done it too.
but in eclipse preferences you can indicate binary version of maven, which will be used for m2eclipse - download, unpack, and indicate current maven 3 binaries (i think it is still beta)
of course you must configure maven options to use jboss repository just like here
-
9. Re: Seam 3 tutorial
isonisak Oct 2, 2010 1:49 PM (in response to abidz05)Officially Sema 3 examples are not ready, but from learning point of view
some of them should.The examples are in repo http://anonsvn.jboss.org/repos/seam/examples/trunk
where latest version of classis Hotel booking is 28.8.2010, but it don't
deploy to latests build of JBoss AS.Could someone update the demo ?
-
10. Re: Seam 3 tutorial
isonisak Oct 4, 2010 2:04 PM (in response to abidz05)Evening
Tutorial http://anonsvn.jboss.org/repos/seam/examples/trunk/javaee-booking works
(first page opens) with JBoss AS M4.I quessed this out from app. pom.xml where this AS version is mentioned and the
turorial time is about the same as M4 release time.So, UPDATE TO http://anonsvn.jboss.org/repos/seam/examples/trunk/javaee-booking/readme.txt
thatDOWNLAOD JBOSS AS M4
( and not latest nightly build) !!!!http://localhost:8080/seam-javaee-booking
Happy learning.
-
11. Re: Seam 3 tutorial
abidz05 Oct 4, 2010 3:55 PM (in response to abidz05)Can we create seam 3 projects without Maven?
-
12. Re: Seam 3 tutorial
isonisak Oct 4, 2010 9:28 PM (in response to abidz05)Yes you can use build it by hand or with some other build tool (Ant,...)
but then you have to also download the required jars (CORRECT VERSIONS)
from app. maven repositories.