WS compilation errors in uberbuilder
------------------------------------
Key: JBDS-1296
URL:
https://jira.jboss.org/browse/JBDS-1296
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Components: Build
Affects Versions: 4.0.0.M2
Reporter: Denis Golovin
Assignee: Nick Boldt
Fix For: 4.0.0.M2
WS is compiled with errors, see below. They are related to javax.net.ssl package. It is
missing during build on hudson.
[java] @dot:
[java] [mkdir] Created dir:
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/@dot
[java] [javac] Compiling 33 source files to
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/@dot
[java] [javac] ----------
[java] [javac] 1. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 19)
[java] [javac] import javax.net.ssl.TrustManager;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 2. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 20)
[java] [javac] import javax.net.ssl.X509TrustManager;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 3. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 21)
[java] [javac] import javax.net.ssl.HostnameVerifier;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 4. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 22)
[java] [javac] import javax.net.ssl.HttpsURLConnection;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 5. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 23)
[java] [javac] import javax.net.ssl.SSLContext;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 6. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 24)
[java] [javac] import javax.net.ssl.SSLSession;
[java] [javac] ^^^^^^^^^
[java] [javac] The import
javax.net cannot be resolved
[java] [javac] ----------
[java] [javac] 7. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 108)
[java] [javac] TrustManager t = new X509TrustManager() {
[java] [javac] ^^^^^^^^^^^^
[java] [javac] TrustManager cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 8. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 108)
[java] [javac] TrustManager t = new X509TrustManager() {
[java] [javac] ^^^^^^^^^^^^^^^^
[java] [javac] X509TrustManager cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 9. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 111)
[java] [javac] public X509Certificate[] getAcceptedIssuers() {
[java] [javac] ^^^^^^^^^^^^^^^^^^^^
[java] [javac] The method getAcceptedIssuers() of type new X509TrustManager(){}
must override or implement a supertype method
[java] [javac] ----------
[java] [javac] 10. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 116)
[java] [javac] public void checkServerTrusted(X509Certificate[] arg0, String
arg1)
[java] [javac] throws CertificateException {
[java] [javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[java] [javac] The method checkServerTrusted(X509Certificate[], String) of type
new X509TrustManager(){} must override or implement a supertype method
[java] [javac] ----------
[java] [javac] 11. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 121)
[java] [javac] public void checkClientTrusted(X509Certificate[] arg0, String
arg1) {
[java] [javac]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[java] [javac] The method checkClientTrusted(X509Certificate[], String) of type
new X509TrustManager(){} must override or implement a supertype method
[java] [javac] ----------
[java] [javac] 12. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 124)
[java] [javac] TrustManager[] tm = new TrustManager[] {t};
[java] [javac] ^^^^^^^^^^^^
[java] [javac] TrustManager cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 13. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 124)
[java] [javac] TrustManager[] tm = new TrustManager[] {t};
[java] [javac] ^^^^^^^^^^^^
[java] [javac] TrustManager cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 14. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 125)
[java] [javac] SSLContext ctx = SSLContext.getInstance("SSL");
//$NON-NLS-1$
[java] [javac] ^^^^^^^^^^
[java] [javac] SSLContext cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 15. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 125)
[java] [javac] SSLContext ctx = SSLContext.getInstance("SSL");
//$NON-NLS-1$
[java] [javac] ^^^^^^^^^^
[java] [javac] SSLContext cannot be resolved
[java] [javac] ----------
[java] [javac] 16. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 127)
[java] [javac]
HttpsURLConnection.setDefaultSSLSocketFactory(ctx.getSocketFactory());
[java] [javac] ^^^^^^^^^^^^^^^^^^
[java] [javac] HttpsURLConnection cannot be resolved
[java] [javac] ----------
[java] [javac] 17. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 128)
[java] [javac] HttpsURLConnection.setDefaultHostnameVerifier(new
HostnameVerifier() {
[java] [javac] ^^^^^^^^^^^^^^^^^^
[java] [javac] HttpsURLConnection cannot be resolved
[java] [javac] ----------
[java] [javac] 18. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 128)
[java] [javac] HttpsURLConnection.setDefaultHostnameVerifier(new
HostnameVerifier() {
[java] [javac]
^^^^^^^^^^^^^^^^
[java] [javac] HostnameVerifier cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 19. ERROR in
/mnt/hudson_workspace/workspace/devstudio-nightly-4.0.trunk/jbds-build/eclipse/plugins/org.jboss.tools.ws.ui/src/org/jboss/tools/ws/ui/utils/JAXWSTester2.java
(at line 131)
[java] [javac] public boolean verify(String hostname, SSLSession session) {
[java] [javac] ^^^^^^^^^^
[java] [javac] SSLSession cannot be resolved to a type
[java] [javac] ----------
[java] [javac] 19 problems (19 errors)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira