Hi Thomas,
Do you have the compiler plugin defined in your pom? At a minimum, you need to have this defined.

* <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
  <configuration>
    <compilerArgument>-verbose </compilerArgument>
    <source>1.5</source>
    <target>1.5</target>
  </configuration>
</plugin>*

If you have a parent and child pom, you should have this in BOTH places.

Regards,
Mark


Thomas Chang wrote:
Hi all,
I use Eclipse Europa and I set both the JRE and compiler to JDK 1.5. But as I run "mvn oackage" I got error as follow: E:\Projekte\TestSpringToplinkFaceletsTomahawk\src\main\java\wei\spring\jsf\test\
DeleteDataFromTable.java:[18,20] generics are not supported in -source 1.3
(try -source 1.5 to enable generics)
                List<User> userList = userDao.findAll();
Someone knows how can I fix it? Regrads Thomas


--------------------------------- Jetzt Mails schnell in einem Vorschaufenster überfliegen. Dies und viel mehr bietet das neue Yahoo! Mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to