Service URL contains non-ASCII character 0x661

I am developing a web app using IntelliJ. However, for some reason Tomcat server, which is configured to run the app could not be launched from the IDE. Because I get the following error.

NOTE: Picked up JDK_JAVA_OPTIONS:  --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED
Error: Exception thrown by the agent : java.net.MalformedURLException: Service URL contains non-ASCII character 0x661
jdk.internal.agent.AgentConfigurationError: java.net.MalformedURLException: Service URL contains non-ASCII character 0x661
    at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:492)
    at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:447)
    at jdk.management.agent/jdk.internal.agent.Agent.startAgent(Agent.java:599)
Caused by: java.net.MalformedURLException: Service URL contains non-ASCII character 0x661
    at java.management/javax.management.remote.JMXServiceURL.<init>(JMXServiceURL.java:157)
    at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.exportMBeanServer(ConnectorBootstrap.java:869)
    at jdk.management.agent/sun.management.jmxremote.ConnectorBootstrap.startRemoteConnectorServer(ConnectorBootstrap.java:480)
    ... 2 more
Disconnected from server

Note that I am using Apache Tomcat 9.0.86, Amazon Corretto JDK 17.0.10, and 2023.3.4 (Ultimate)

 

 

0

Please sign in to leave a comment.