开发者

MyEclipse builds workspace on saving JSP page every time

开发者 https://www.devze.com 2022-12-24 06:25 出处:网络
Whenever I save a jsp page, MyEclipse IDE start building the workspace. It sho开发者_运维技巧uld build when I change in any class file. Or if there are classes that not compiled. But why it start buil

Whenever I save a jsp page, MyEclipse IDE start building the workspace. It sho开发者_运维技巧uld build when I change in any class file. Or if there are classes that not compiled. But why it start building whole workspace when I change in a JSP file. I am stuck on it. Please advise me on this problem.

I am using MyEclipse 5.5 over Eclipse 3.2

Thanks.


this problem is due to problem in java build path, fix your build path and get out of this.


For every JSP, the JSP compiler generates a corresponding Java class. So when you save a JSP, Eclipse/MyEclipse is figuring that it needs to do a workspace build to 1) run the JSP compiler, and 2) compile the resulting Java class to bytecodes.

I imagine you can modify this behavior (e.g. via Eclipse/MyEclipse preferences), but I don't use MyEclipse, and I don't do J2EE development this way anyway.


This issue is because of problem in java build path, fix your build path and get out of this issue.


JSP is a class file. You can write any java code inside it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号