java - Cannot start my Spring application on tcServer from SpringTools -


Unfortunately I am quite new to the development of the spring, therefore I can not explain the problem in a lot of detail, but I have this problem. I have an existing spring application, it is compiled and it works when the 6th ether is hit by the Spring tool suit or Maven target. The problem is that I can not start it on TCS server which comes with the Spring Tools suite so that Spring Insight can be used (I would like to profess this app because there are some obstacles). I managed to add the server instance and start it, but then when I tried to run the application on it, I get this error:

Error: The main square's spring should not be searched or loaded.

I have no clue what is happening and nothing about this error can be found through Google and I searched for hours. How can I remove this error and work it out?

Additional information: I am on Windows 64bit using 64 bit Z7 JR 7 JR7 and recommended as per the comment: STS-3.5.0. RELEASE, vfabric-TC-server-developer- 2.9.5.SR1 New Conclusion: I have tested this similar setup on Linux machine with the same project and have not received that annoying exception. Still would like to know why this happens on Windows, although the answer to work with the server starting out of STS is very helpful.

Try out this STS Open a new command prompt window, but open it with "Run as administrator"

  1. Open a new command prompt window, / P>

  2. Change the directory to the vfabric-tc-server-developer-2.9.5.SR1 folder

  3. play vfabric -tc-server-developer-2.9.5 SR1 & gt; TCRtime-instance.bat create -T insight test_spring_sight . This creates a TC server instance with the "insight" template.

  4. vfabric-tc-server-developer-2.9.5.SR1 \ test_spring_insight \ webapps

  5. < p> play vfabric-tc-server-developer-2.9.5.SR1 & gt; tcruntime-ctl.bat test_spring_insight install . It installs the TC server instance as a service.
  6. Run vfabric-tc-server-developer-2.9.5.SR1 & gt; tcruntime-ctl.bat test_spring_insight start . This starts the TC server instance.

    You should now be able to access the Insights app at http: // localhost: 8080 / insight .

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -