• Register
0 votes
239 views

Problem :

My GlassFish v3 error log says:

java.lang.illegalargumentexception uri has an authority component

6 5 3
6,930 points

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

9 7 4
38,600 points

Related questions

0 votes
1 answer 88 views
88 views
Problem: Netbeans 8.0.2 The module has not been deployed.see the server log for details.
asked Feb 14 Shovo210 13.2k points
0 votes
1 answer 24 views
24 views
Problem: java se development kit (jdk) was not found on this computer.
asked Feb 16 Ethan ross 2.3k points
0 votes
1 answer 1 view
1 view
I am facing this issue please help me . Website works on phone but not computer.
asked Mar 20 PkGuy 13.1k points
0 votes
1 answer 11 views
11 views
Problem: I am facing below error every time :Javax.mail.messagingexception: could not connect to smtp host: localhost, port: 25, response: 421.
asked Mar 14 Wafa Abu Yousef 6.1k points
0 votes
1 answer 6 views
6 views
Problem: Anyone know about this?
asked Mar 11 Ifra 24.4k points
0 votes
1 answer 74 views
74 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, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 217 views
217 views
Problem : I have recently written a Java Web Start application using NetBeans it does a very simple file upload task. Also I have already got it completely signed now but now I am facing a very new problem. One of my main class methods is called by the JavaScript and now ... . Please Note : I have the most up-to-date version of my Java plugin. Is there anyone who can fix above error for me?
asked Apr 7, 2020 morrisBson 3.2k points
0 votes
2 answers 1.5K views
1.5K views
Problem : I am facing below error every time : javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25; nested exception is: java.net.ConnectException: Connection refused: connect at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1706) at ... I am unable to understand the error why this is happening to my code. Please let me know how to fix above error.
asked Feb 3, 2020 jwilliam 3.9k points
0 votes
1 answer 5 views
5 views
Problem: Does anyone know how to (java.lang.illegalargumentexception: no retrofit annotation found.) solve this file problem?
asked Mar 31 zayed1 24.7k points
1 vote
1 answer 9 views
9 views
Problem: I wish to get RSS code from URL with retrofit.with static URL everything is fine but with dynamic URL I get this error. Java.lang.illegalargumentexception: no retrofit annotation found. (parameter # 1).
asked Mar 30 PkGuy 13.1k points