• Register
0 votes
72 views

Problem :

My GlassFish v3 error log says:

java.lang.illegalargumentexception uri has an authority component

by (6.9k points)  
edited by

1 Answer

0 votes

Soultion :

I had the same problem (NetBeans 6.9.1) and the fix is very simple.

I found that NetBeans did not create a META-INF folder and so there was no context.xml , so I created the META-INF folder under the main project folder and also created file context.xml with the bellow content.

<?xml version="1.0" encoding="UTF-8"?>
    <Context antiJARLocking="true" path="/home"/>

And problem is resolved.

Further Readings :

https://github.com/redhat-developer/vscode-java/issues/259

by (36.1k points)  
...