This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | jax-ws XmlElementRef cannot find symbol symbol : method required() | ||
---|---|---|---|
Product: | webservices | Reporter: | rcacheira |
Component: | JAX-WS | Assignee: | Milan Kuchtiak <mkuchtiak> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 8.0 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
rcacheira
2014-07-17 19:57:02 UTC
I cannot reproduce the issue. The information you sent isn't sufficient. What jdk version Netbeans in running on ? What Java Platform is set-up in your project ? What project type you use for your JAX-WS client ? Do you have some library (JAX-WS or JAXB) on the project classpath ? The problem like this usually occurs when your jax-ws artifacts are generated in a newer version of JAX-WS than JAX-WS version, used by the project. You may try to set up the "target" wsimport option to 2.1 or to 2.0. (Web Service References -> Edit WS Attributes -> Wsimport Options tab) Or remove the JAXB (JAX-WS) librery, if there is any, from the project classpath. (Project -> Libraries node). It looks similar to bug 174557. Product Version: NetBeans IDE 8.0 (Build 201403101706) Updates: NetBeans IDE is updated to version NetBeans 8.0 Patch 2 Java: 1.7.0_21; Java HotSpot(TM) 64-Bit Server VM 23.21-b01 Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b12 System: Mac OS X version 10.9.4 running on x86_64; UTF-8; en_US (nb) User directory: /Users/rcacheira/Library/Application Support/NetBeans/8.0 Cache directory: /Users/rcacheira/Library/Caches/NetBeans/8.0 I think that setting target option to 2.1 on wsimport, solved the problem, although the problem should not occur since I created the web service client with the same version of java and netbeans and on the same computer. |