Jörg, Microsoft Windows XP Professional 2002 SP2 java version: 1.5.0_06 Maven version: 2.0.4
And the project I am compiling is MyFaces [1]. Zhi [1] https://svn.apache.org/repos/asf/myfaces/current ----- Original Message ----- From: "Jörg Schaible" <[EMAIL PROTECTED]> To: "Maven Users List" <[email protected]> Sent: Wednesday, May 17, 2006 9:28 PM Subject: RE: Compilation failure of java.nio.BufferOverflowException Zhi, what OS are you using ? - Jörg Zhi wrote on Wednesday, May 17, 2006 5:24 AM: > I am trying replace ANT with MAVEN to build my project. In > ant, I also met the memory overflow problem when execute the > "javac" task. Finally the problem is solved by set > memoryMaximumSize property like this, > > <javac destdir="${classes.dir}" srcdir="${src.dir}" > memoryMaximumSize="100m"> > > I am not sure whether it is the same reason, which makes the > javac compiler not work. I have searched google, sun's bug > database, and maven user list forum, but no hint found. > > Is there any friend can tell me why, or solve the problem? > Thanks in advance. > > Zhi > > > Here is the detail error message, > > [INFO] > -------------------------------------------------------------- > ---------- > [ERROR] BUILD FAILURE > [INFO] > -------------------------------------------------------------- > ---------- > [INFO] Compilation failure > > Failure executing javac, but could not parse the error: > Compiler (1.5.0_06) arises exception. > > java.nio.BufferOverflowException > at java.nio.Buffer.nextPutIndex(Buffer.java:419) > at java.nio.HeapCharBuffer.put(HeapCharBuffer.java:145) > at com.sun.tools.javac.parser.Scanner.decode(Scanner.java:405) > at com.sun.tools.javac.parser.Scanner.<init>(Scanner.java:304) > at com.sun.tools.javac.parser.Scanner.<init>(Scanner.java:238) [snip] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
