开发者

I am not able to connect tomcat with eclipse

开发者 https://www.devze.com 2023-03-13 06:45 出处:网络
My eclipse u开发者_JS百科sed to work fine but now I am no longer the administrator of my computer(I no longer have administrator priveledges) and i see that my already installed and working eclipse is

My eclipse u开发者_JS百科sed to work fine but now I am no longer the administrator of my computer(I no longer have administrator priveledges) and i see that my already installed and working eclipse is now showing errors in my jsp files of the application which it didn't used to show before.. also I am not able to connect to tomcat server which seperately can be started normally but not inside eclipse..... Is this something to do with my not being administrator anymore of is it something else....

would highly appreciate the help.....

I have now been able to run my tomcat server without admin previledge but problem of many files showing error still persists......... the below written jsp code is showing error in all the files....: <% pageContext.getRequest().setCharacterEncoding("UTF-8"); String label = pageContext.getRequest().getParameter("rswitb1"); if(label==null)label=""; else label = label.replaceAll("<", "<").replaceAll(">", ">"); %>

I am not able to get what the problem .... if anyone could help...


The connection to the external tomcat should be using only TCP/IP port 8080, there is no reason why a non-admin user should not be able to do that.

It's possible that your tomcat password has changed (or hasn't been set up at all)

There is a troubleshooting section at the eclipse wiki (if you are using WTP, that is)


First,check out the tomcat server is on: "netstat -an" to find that whether the port8080 is used(if you didn't assign another server port.).


check out whether the server is on(netstat -an). Maybe 8080 is used by tomcat. You'd better reinstall tomcat as non administrator.

0

精彩评论

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

关注公众号