Solved

Save Failed ... in Eclipse

Posted on 2013-12-12
3
3,554 Views
Last Modified: 2013-12-12
When I save a javascript file in Eclipse, I get a message saying:

Save Failed

Compilation unit name must end with .java, or one of the registered Java-like extensions.

===============================================

Why does this happen? How do I get rid of it?
0
Comment
Question by:mdoland
  • 2
3 Comments
 
LVL 35

Accepted Solution

by:
mccarl earned 500 total points
ID: 39715787
Where in your project are you trying to save this javascript file? A screenshot might help?

Also, check if you have any breakpoints set in the file that you are trying to save. If do you, try removing the breakpoints and then saving.
0
 

Author Comment

by:mdoland
ID: 39715794
Perfect thing wiht the breakpoints ... I put in one a couple of days ago to remember a certain line.
0
 
LVL 35

Expert Comment

by:mccarl
ID: 39715814
Yeah, it's just one of those "Eclipse" things, annoying! :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
diffSum example 4 52
varialbe initialization 11 37
eclipse apache tomcat admin console 52 122
jsp insert to database example 2 47
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question