문제

I am trying to run an GWT application which (unfortunately) has a huge classpath, because if which the GWT launcher fails to load and I get the following error :

CreateProcess error=87, The parameter is incorrect.

Does somebody know a workaround for this solution ?

Thanks in advance..

도움이 되었습니까?

해결책

Ugly and temporary workaround is to move you working folder closer to the HDD root.

We had the same problem using Datanucleus. The other workaround was to set the builder so that it only enhanced the desired classes.

But there again as the project grows bigger we might encounter the same problem again.

다른 팁

What OS are you using?

If this is Windows Xp or later, the maximum length of a java command (or a CLASSPATH value) would be 8191.
And this thread illustrates the result (an error like the one you have).

If you are at the limit, you can try to build the CLASSPATH separately from the java command, as suggested in Java Glossary page.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top