I'm working on a project pulled from GitHub in IntellijIdea. I am able to build my project and have a database running, but when I try to run it using Tomcat, I get an error in Chrome saying that there is no webpage attached to local port 8080.
I've tried building and rebuilding artifacts, reconfigured Tomcat using different ports, and tried previewing the project through index.jsp, but I continue to get this error.
I'm expecting to see a map and webpage (as my teammates can), but am having no luck. Does anyone have thoughts on how to troubleshoot?
Related
Starting today, one of our CircleCI Job steps which downloads sbt Launcher 1.3.10 has failed to download. Upon further investigation, the URL that CircleCI has been using no longer accepts connections over http.
The correct URL is https://repo.scala-sbt.org/scalasbt/maven-releases/org/scala-sbt/sbt-launch/1.3.10/sbt-launch.jar
I am trying to figure out how I can get CircleCI to start downloading from https, as it does not appear to be tied to anything in config.yml. Any suggestions? Our CircleCI setup & host are internal to our organization.
When I download the link using http via FireFox, it pulls the jar from https://akamai.bintray.com , which may be how we have been getting by prior to today. Chrome refuses the connection.
A colleague found the root cause:
https://www.lightbend.com/blog/lightbend-to-require-https-on-repos-starting-august-5-2020
CircleCI has yet to update its repo.typesafe.com address for Scala SBT application installation. I have opened PRs to help facilitate that.
Screenshot of the issue
Hi guys im using intellij and maven and i was working on my code but when I try to ru it locally im getting this issue, I checked all the configuration but I dont know exactly why this issue appear
This happens when IDE can not connect to mentioned port. It is most likely specified in run debug configuration. This may happen because the port has already been occupied by another process (e.g. There is already Tomcat instance running).
Also if you have antivirus/firewall make sure it does not block IDE process from making connections on localhost: make sure to exclude IDE process, IDE installation home, IDE configuration/system folders, project and library directories from the scan. Try restarting the PC, try using different JMX port in Run/Debug Configuration.
I am new to using IntelliJ and this seems to be a common problem having gone through similar questions but am still unable to use debugger in a Maven project.
After configuring the Debugger when I click on Debug I see following in my console:
"C:\Program Files\Java\jdk1.8.0_151" -agentLib:jdwp=trasnport=dt_socket,address=127.0.0.1:52485 server=n suspend=y
...//Few project specific environment variables
Connected to target VM 127.0.0.1:52485
Note that the application is up and listening on port 8080 as I can access it from the browser and its a standalone Dropwizard application.
There is a cross on the break point and the debugger doesn't stop over it. Have tried removing Cache, restarting, deleting .idea folder, building Maven project but still the break point doesn't work.
Should the jdwp port also be 8080 and not 50000 something as shown above. I am unable to debug this in Eclipse as well. Can some one help me out what could be the solution. Thanks for any help.
I am using an archetype from Maven called "spring-mvc-webapp, 1.0.0CR8" in my eclipse project. Infact i have not done anything to the project yet. I just want to deploy it and test it with the default application that comes with the archetype. I have spent hours trying to fix it but with no success
I call my application from the browser like localhost:8080/myapp and i get forbidden in the browser. But when i go to localhost:8080 i see the default home page of wildfly. When i go also to the management console of Wildfly, i see that my app is deployed yet it is not working.
Any idea to fix it is appreciated.
I have searched stackoverflow before posting this question.
In eclipse i am running a tomcat server. I deleted the .class files from the work folder of the tomcat server. From then on I am facing the issue saying the class couldnot be found.
I re-built the project. Didnt help
Can you please suggest how to fix this issue.
You should NOT run Tomcat as a normal program inside Eclipse. You should use the EE version of Eclipse, and then add Tomcat in the server view. This will allow you to deploy Dynamic Web Projects directly to Tomcat or any other supported server.
delete the server from eclipse server view and create it again.