Hello Guido, thanks a lot for your report. I've added a check in the build process that allows to detect such error. This will help us to detect this kind of errors at build time. I notice alo this should happen also with the Android and GAE editions, because they also rely on an incomplete JDK. I've entered an issue for that: http://restlet.tigris.org/issues/show_bug.cgi?id=1231.
Best regards, Thierry Boileau Hi, > > again the current gwt 2.1snapshot references java.nio. > > Guido Schmidt. > > [INFO] --- gwt-maven-plugin:2.1.0-1:compile (default) @ GEPclient --- > [WARNING] Don't declare gwt-dev as a project dependency. This may introduce > complex dependency conflicts > [INFO] Compiling module de.man.mn.gep.GEPclient > [INFO] Validating newly compiled units > [INFO] [ERROR] Errors in > > 'jar:file:.m2/repository/org/restlet/gwt/org.restlet/2.1-SNAPSHOT/org.restlet-2.1-SNAPSHOT.jar! > org/restlet/client/engine/io/IoBuffer.java' > [INFO] [ERROR] Line 34: The import java.nio cannot be resolved > [INFO] [ERROR] Line 35: The import java.nio cannot be resolved > [INFO] [ERROR] Line 48: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 59: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 71: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 73: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 84: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 94: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 103: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 111: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 123: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 126: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 131: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 136: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 165: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 166: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 206: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 207: ByteBuffer cannot be resolved to a type > [INFO] [ERROR] Line 248: ReadableByteChannel cannot be resolved to > a type > [INFO] [ERROR] Line 253: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 256: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > [INFO] [ERROR] Line 279: The method getBytes() from the type > IoBuffer refers to the missing type ByteBuffer > -- > View this message in context: > http://restlet-discuss.1400322.n2.nabble.com/Again-gwt2-1-snapshot-references-java-nio-ByteBuffer-IoBuffer-java-tp5946953p5946953.html > Sent from the Restlet Discuss mailing list archive at Nabble.com. > > ------------------------------------------------------ > > http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2699544 > ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2699971

