I could really use a hand in explaining what I am doing wrong..

my steps:
1)  mvn archetype:generate
-DarchetypeCatalog=http://tapestry.formos.com/maven-repository
2) Define value for property 'groupId': : com.foo
Define value for property 'artifactId': : foo
Define value for property 'version': 1.0-SNAPSHOT: 
Define value for property 'package': com.agate: com.foo.bar
3) copy src and pom into project folder in eclipse 3.5 (J2EE)
4) run on server->apache tomcat 6 = SUCCESS

5) change POM: Add (automated through m2e)
        <dependency>
                <groupId>mysql</groupId>
                <artifactId>mysql-connector-java</artifactId>
                <version>5.1.12</version>
                <type>jar</type>
                <scope>compile</scope>
        </dependency>

6) restart apache tomcat
7) All hell breaks loose
INFO:validateJarFile(/home/adminuser/workspace/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/timekeeper/WEB-INF/lib/servlet-api-2.5.jar)
- jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class:
javax/servlet/Servlet.class
log4j:WARN No appenders could be found for logger
(org.apache.tapestry5.ioc.RegistryBuilder).
log4j:WARN Please initialize the log4j system properly.

Questions:
1) Website wont compile, all due to log4j not being configured properly? 
2) how would I force copy the log4j.properties file to the right place at
build time? (maven config I assume)

Apologies as I am very, VERY new to Tapestry and Java in general.
-- 
View this message in context: 
http://old.nabble.com/Tapestry-5.1-pom.xml-modifications-results-in-BOOM-tp28896910p28896910.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to