Web services support in IntelliJ IDEA running under Gentoo Linux

1.6k Views Asked by At

Does anybody able to use build-in web services (JAX-WS) support in IntelliJ IDEA under Linux? Most of features don't work under Gentoo (Calculate actually). Ex, when I launch command "Tools -> Web Services -> Generate Wsdl form Java code..." from menu it says: Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/tools/internal/ws/WsGen

I know wsgen is included with sun-jdk-1.6, I have also tried to install packages "jax-ws" and "jax-ws-tools" from Gentoo repository. It doesn't help.

I know the features work with IDEA under Windows XP. What's wrong with Linux? Any specific setup is required?

2

There are 2 best solutions below

0
On BEST ANSWER

(It's being a while before I was able to return to the topic) The bug is now fixed in newer versions of IDEA, at least in 12.

5
On

This class is located in the tools.jar that is not added to the JSDK classpath by default, try to open JSDK settings dialog, classpath tab and add tools.jar explicitly to the list of the JDK jars.