Spring boot: java.lang.IllegalArgumentException: URI has an authority component

I am getting "URI has an authority component" error while running Spring boot application. The application will do upload file function.

I have verified some solutions given to similar questions but found no luck.

Tried:

1. Workspace in C://

2. POM file correction. Included Tomcat jasper and starter dependencies.

Can you please help to resolve this error;

Below is my POM file;


xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">

4.0.0

com.nbn

boot

0.0.1-SNAPSHOT

war

Spring boot application - Maven



1.8





org.springframework.boot

spring-boot-starter-parent

2.1.1.RELEASE







org.springframework.boot

spring-boot-starter-web





org.springframework.boot

spring-boot-starter-tomcat







org.springframework.boot

spring-boot-starter-test

test





org.apache.tomcat

tomcat-jasper

9.0.13





com.oracle

ojdbc6

11.2.0.4.0-atlassian-hosted











org.springframework.boot

spring-boot-maven-plugin





...

Read More »

By: StackOverFlow - 7 days ago

Related Posts