# The source was saved, but was not compiled due to the following errors

**URL:** <https://techcommunity.softwareag.com/t/the-source-was-saved-but-was-not-compiled-due-to-the-following-errors/125365>\
**Category:** Feedback & ideas\
**Tags:** Discussions-on-this-Forum-System, New-User-Welcome-and-Introductions\
**Created:** [December 31, 2008, 12:54pm UTC](https://techcommunity.softwareag.com/t/the-source-was-saved-but-was-not-compiled-due-to-the-following-errors/125365 "2008-12-31T12:54:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kavalas](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kavalas](https://techcommunity.softwareag.com/u/kavalas)\
**Post date:** [December 31, 2008, 12:54pm UTC](https://techcommunity.softwareag.com/t/the-source-was-saved-but-was-not-compiled-due-to-the-following-errors/125365/1 "2008-12-31T12:54:32Z")

</div>

:mad: I am new to this webMethods. I am trying to write simple javaservice in this tool and i am trying to save this. But i am getting the error like

"The source was saved, but was not compiled due to the following errors:"

So please let me know how can i come out of this issue.

thanks in advance.🙂

---

<div class="post-metadata">

**Author:** ![wMusers.Com1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/wmusers.com1/32/170_2.png) [@wMusers.Com1](https://techcommunity.softwareag.com/u/wMusers.Com1)\
**Post date:** [December 31, 2008, 7:05pm UTC](https://techcommunity.softwareag.com/t/the-source-was-saved-but-was-not-compiled-due-to-the-following-errors/125365/2 "2008-12-31T19:05:42Z")

</div>

What were the compilation errors?

---

<div class="post-metadata">

**Author:** ![kavalas](https://avatars.discourse-cdn.com/v4/letter/k/e9c0ed/32.png) [@kavalas](https://techcommunity.softwareag.com/u/kavalas)\
**Post date:** [January 8, 2009, 4:32pm UTC](https://techcommunity.softwareag.com/t/the-source-was-saved-but-was-not-compiled-due-to-the-following-errors/125365/3 "2009-01-08T16:32:15Z")

</div>

Thank you very much mcarlson for your reply.

The error is as follow. when i am saving the java service i am getting the following information in a popup box. Please let me know what is the problem.

Is it a configuration problem.

“The source was saved, but was not compiled due to the following errors:”  
javac: no source files  
Usage: javac   
where possible options include:  
 -g Generate all debugging info  
 -g:none Generate no debugging info  
 -g:{lines,vars,source} Generate only some debugging info  
 -nowarn Generate no warnings  
 -verbose Output messages about what the compiler is doing  
 -deprecation Output source locations where deprecated APIs are used  
 -classpath Specify where to find user class files  
 -sourcepath Specify where to find input source files  
 -bootclasspath Override location of bootstrap class files  
 -extdirs Override location of installed extensions  
 -d Specify where to place generated class files  
 -encoding Specify character encoding used by source files  
 -source Provide source compatibility with specified release  
 -target Generate class files for specific VM version  
 -help Print a synopsis of standard options
