Aoryouncellvan
Aoryouncellvan

Reputation: 175

The filename, directory name or volume label syntax is incorrect

While running my eclipse I received this error. But when I run my project it is executed in the internal browser. But it is not executed in the default system web browser. Any one answer for this. Thanks in advance for the answer

Upvotes: 1

Views: 12834

Answers (4)

Eshika Verma
Eshika Verma

Reputation: 16

I set another browser as the default browser and it work for me.

Steps for windows- settings->default app->(the required browser)->set as default.

Upvotes: 0

Anish Pocha
Anish Pocha

Reputation: 11

This problem comes when you change the .html or .jsp file to text file or some other file type which is not read by web container.

In my case i had .jsp/html files changed to text format.

I changed the file types:

1) right click on file from folder where you files are located 2) open file properties 3) change the "open with" to your default web-browser (chrome,mozila,IE) 4) Apply ok

Go to eclipse and run your project...

Upvotes: 1

ÖMER TAŞCI
ÖMER TAŞCI

Reputation: 566

Even if I tried every suggestion, I have could not overcome that issue at first. In my case, delete the tomcat installation folder (for me C:/tomcat), then installing tomcat again solved my problem. May be you are confused while other settings, too.

Upvotes: 0

Razib
Razib

Reputation: 11173

You may change browser setting from eclipse -

Window->Web Browser-> Now select your browser

Upvotes: 2

Related Questions