Andrew Savory pisze:
Hi,
Trying to build Cocoon 2.2 trunk:
rm -rf ~/.m2/repository/org/apache
mvn clean
mvn install -Dmaven.test.skip=true -P allblocks
[...]
/Users/savs/Development/svn-apache/cocoon-trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java:[100,18]
cannot resolve symbol
symbol : method remove ()
location: class java.lang.ThreadLocal
/Users/savs/Development/svn-apache/cocoon-trunk/core/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/DispatcherServlet.java:[100,18]
cannot resolve symbol
symbol : method remove ()
location: class java.lang.ThreadLocal
Let me guess, you use Java 1.4? In Java 1.4 ThreadLocal does not have remove() method and that's why the build fails. I have no idea how to
fix it, though.
--
Grzegorz Kossakowski
http://reflectingonthevicissitudes.wordpress.com/