Questions tagged as 'tomcat'

1
answer

External jar problem creating file in tomcat

Good afternoon. I have a problem that Crawler4j (an external jar) tries to create files and folders in an application in tomcat but has the following error: Could not create this folder: / data / crawl / root How can I do to allow tomcat t...
asked by 08.12.2014 / 19:13
1
answer

Validation of input triggering error 400 with Spring MVC

Personal, there is a boring error in which I'm losing sleep to find out how to treat. Well, every time I run my test by checking the validation of my field a 400 error is triggered. I do not know how I can resolve this. The server log does...
asked by 19.08.2014 / 00:38
1
answer

How to put a global shortcut to restart debug mode servers in Eclipse?

How can I configure Eclipse (I'm currently using Kepler) so that when I press a keyboard shortcut, for example, F12, the Tomcat server starts or restarts in Debug mode? I was able to make the F12 shortcut work, but I had to configure it for...
asked by 11.06.2014 / 20:56
1
answer

How to correct the error in the Log?

I'm using Struts 2 on Tomcat, and I can run the code. However, I'm having this error in the log.    java.lang.ClassNotFoundException: org.apache.struts.action.ActionServlet And I have no idea what it is. I've been searching and I can not...
asked by 30.06.2014 / 12:51
0
answers

Tomcat 8.0.38 does not find Applications after switching from Primefaces 5.1 to 6.2

Even with all dependencies included the project is not found and returns the notorious screen "description The requested resource is not available." The funny thing is that even returning the primefaces to 5.1 Tomcat 8.0.38 does not find the...
asked by 03.12.2018 / 18:29
0
answers

Image only appears on the web if updating project in Eclipse

Good evening, I'm running a project in the Eclipse IDE, Tomcat server and using Primefaces. In a table in which I have images, they only appear when I "refresh" the project inside Eclipse, as if after inserting the image, it just sees if I fo...
asked by 28.11.2018 / 00:41
0
answers

CSF blocking external connection

Oops, everybody! When I try a simple openConnection (code below has been simplified to demonstrate): URL url = new URL("url aqui"); url.openConnection(); I get the error: java.lang.RuntimeException: java.net.ConnectException: Connection r...
asked by 27.11.2018 / 00:19
3
answers

Embark Tomcat in Java Desktop application

After a long time, I was able to develop a Java application, with a graphical interface (swing), which simulates access to a given site and extracts data. The problem is that as it simulates a browser (with HtmlUnit), it needs Tomcat, and when I...
asked by 19.11.2018 / 21:38
1
answer

Configure Tomcat for external access

How can I access Tomcat via the web, being my PC a server? I already use the no-ip configured, the router is set to my micro, the firewall disabled, .war is in the webapp folder, / p> Maybe it's the setting for server.xml...
asked by 24.10.2018 / 14:51
1
answer

404 - Java EE Project Maven with Spring returns 404

I'm having problems with the Spring configuration of my Maven project, in which to test if everything was working, a simple hello world did not work and apparently there are no explicit errors, someone please save me there! web.xml <?xml...
asked by 02.10.2018 / 18:50