• Register
0 votes

Problem :

My GlassFish v3 error log says:

java.lang.illegalargumentexception uri has an authority component

by (6.9k points)
edited by

Please log in or register to answer this question.

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 :


by (38.6k points)

Related questions

0 votes
1 answer
0 votes
1 answer
14 views asked Dec 6, 2020 by Mashhoodch (5.6k points)