After starting the Jetty service, prompt javax.naming.operationNotsupportedException (no additional error message)

Before solving this problem, I checked a lot of information on the Internet, but it was not the same as mine.

My situation is like this:

The first line under the error message is similar to this: weblogic.j2eeclient.SimpleContext……

So I wonder why this class is not what I need (because I don’t use weblogic), why it appears here. So I found the source file corresponding to this class

looked at it. I felt that another class was originally needed, but the class in the jar package had the same name as the required class, so this unneeded class would be quoted, resulting in an error.

Next, I deleted the jar package, recompiled, and then successfully started.

I hope to help some friends, as a reference for the possibility of this situation!





Leave a Comment

Your email address will not be published.