David Gradwell created NETBEANS-4747:
----------------------------------------
Summary: Illegal reflective access by
com.thoughtworks.xstream.converters.collections.TreeMapConverter
Key: NETBEANS-4747
URL: https://issues.apache.org/jira/browse/NETBEANS-4747
Project: NetBeans
Issue Type: Bug
Components: javaee - Maven
Affects Versions: 12.0
Reporter: David Gradwell
When building a Java servlet with Maven (which generates a .war), the
maven-war-plugin always generates the following warning, whatever servlet we
are building.
Please could NetBeans 12.1 use a later version of maven-war-plugin.
--- maven-war-plugin:2.3:war (default-war) @ PKBHtmlServlet ---
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by
com.thoughtworks.xstream.converters.collections.TreeMapConverter
(file:/Users/davidjlgradwell/.m2/repository/com/thoughtworks/xstream/xstream/1.4.3/xstream-1.4.3.jar)
to field java.util.TreeMap.comparator
WARNING: Please consider reporting this to the maintainers of
com.thoughtworks.xstream.converters.collections.TreeMapConverter
WARNING: Use --illegal-access=warn to enable warnings of further illegal
reflective access operations
WARNING: All illegal access operations will be denied in a future release
Packaging webapp
Assembling webapp [PKBHtmlServlet] in
[/Users/davidjlgradwell/NetBeansDev/PKBHtmlServlet/target/PKBHtmlServlet-1.0]
Processing war project
Copying webapp resources
[/Users/davidjlgradwell/NetBeansDev/PKBHtmlServlet/src/main/webapp]
Webapp assembled in [95 msecs]
Building war:
/Users/davidjlgradwell/NetBeansDev/PKBHtmlServlet/target/PKBHtmlServlet-1.0.war
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists