• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4226
  • Last Modified:

Save Failed ... in Eclipse

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
mdoland
Asked:
mdoland
  • 2
1 Solution
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
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
 
mdolandAuthor Commented:
Perfect thing wiht the breakpoints ... I put in one a couple of days ago to remember a certain line.
0
 
mccarlIT Business Systems Analyst / Software DeveloperCommented:
Yeah, it's just one of those "Eclipse" things, annoying! :)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now