• Register
0 votes
319 views

Problem :

My GlassFish v3 error log says:

java.lang.illegalargumentexception uri has an authority component

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 :

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

38.6k points

Related questions

0 votes
1 answer 5 views
5 views
Problem: What exactly is the solution : Glassfish server runtime requires full jdk instead of jre?
asked Jun 23 Mezbah 130k points
0 votes
1 answer 4 views
4 views
Problem: What exactly is the solution : Glassfish server runtime requires full jdk instead of jre?
asked Jun 23 Mezbah 130k points
0 votes
1 answer 2 views
2 views
Problem: Chrome err_cert_common_name_invalid
asked 3 hours ago Chi Omega 168k points
0 votes
1 answer 13 views
13 views
Problem: What am I going to do about it: Chrome net::err_cert_common_name_invalid?
asked Jun 2 Nahil 128k points
0 votes
1 answer 16 views
16 views
Problem: I'm not sure what I'll do about this problem: Net::err_cert_common_name_invalid chrome?
asked Jun 2 Nahil 128k points
1 vote
1 answer 6 views
6 views
Problem: Any expert who can help me to solve this issue? Exception in thread "main" java.lang.nosuchmethoderror: main.
asked Apr 25 PkGuy 25.9k points
0 votes
1 answer 51 views
51 views
Problem: I have a form with a button and an icon assigned to the button. This code was generated by NetBeans. I get an 'Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException" error when trying to run the application. I created a brand new Gradle project with ... and an icon in the button. This exact same process worked for an Ant project, but won't work with my new Gradle project.
asked Apr 25 sumaiya simi 43.9k points
0 votes
1 answer 6 views
6 views
Problem : Java se platform binary has stopped working.
asked Jul 13 Isac Christiaan 103k points
0 votes
1 answer 16 views
16 views
Problem: Can anyone assist me with this issue : Java(tm) platform se binary has stopped working?
asked May 25 Florina Gulnar 106k points
0 votes
1 answer 18 views
18 views
Problem: Is there a way to get around this : Java se binary has stopped working minecraft fix?
asked May 24 Florina Gulnar 106k points