• Register
Welcome to Kodlogs, programming questions and answer website.
0 votes
139 views

Problem :

My GlassFish v3 error log says:

java.lang.illegalargumentexception uri has an authority component

6 5 3
6,930 points

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

9 7 4
38,600 points

Related questions

0 votes
1 answer 11 views
11 views
Problem: I am a beginner to java, swing, netbeans and promise. Now I am trying to read and write the Extensible Linking Format (ELF). Please find below the line of code at which I am facing the Error: p = r.exec("./optimizer " + sourceFile + " ... .java:620) at java.lang.Runtime.exec(Runtime.java:450) at java.lang.Runtime.exec(Runtime.java:347) at GUIMode.GUIMode.actionPerformed(GUIMode.java:213)
asked Aug 26 Raphael Pacheco 4.9k points