sts-springsourcetoolsuite

“RA layer request failed” error with Subclipse, no errors with web browser

元气小坏坏 提交于 2019-12-01 05:22:01
I'm using STS 2.8.1 (I think it's based on Eclipse Indigo) with Subclipse 1.6.18. I'm trying to check some code out from a repository, but when I add the repository location, I get the following error: RA layer request failed svn: Server sent unexpected return value (503 Service Unavailable) in response to OPTIONS request for 'http://a.b.com:18080/svn/myproject' The thing is, if I try to access that repository from a web browser (e.g. Chrome or IE), I'm allowed to access it. It asks for my username and password, and after I enter them, I can see the project tree. Does anyone know why I can

“RA layer request failed” error with Subclipse, no errors with web browser

旧城冷巷雨未停 提交于 2019-12-01 02:46:55
问题 I'm using STS 2.8.1 (I think it's based on Eclipse Indigo) with Subclipse 1.6.18. I'm trying to check some code out from a repository, but when I add the repository location, I get the following error: RA layer request failed svn: Server sent unexpected return value (503 Service Unavailable) in response to OPTIONS request for 'http://a.b.com:18080/svn/myproject' The thing is, if I try to access that repository from a web browser (e.g. Chrome or IE), I'm allowed to access it. It asks for my

SpringJUnit4ClassRunner class not found

丶灬走出姿态 提交于 2019-12-01 02:14:22
i am trying to create a unit test using SpringJUnit4ClassRunner but everytime i execute the test it says it cannot find SpringJUnit4ClassRunner using mvn install. \src\test\java\com\jr\freedom\util\JsonParserUtilTest.java:11: cannot find symbol [ERROR] symbol: class SpringJUnit4ClassRunner [ERROR] -> [Help 1] here is my code @RunWith(SpringJUnit4ClassRunner.class) public class JsonParserUtilTest { private String jsonUser = "{ \"username\":\"jono111\",\"emailAddress\":\"jon@google.com\", \"password\":\"12345678\",\"firstName\":\"jono\", \"surname\":\"richy\", \"country\":\"united kingdom\",\

How can I download older versions of STS? [closed]

别等时光非礼了梦想. 提交于 2019-12-01 00:23:43
I'm looking to download the 3.6.0 sts-bundle but I cannot find the place to do this on https://spring.io/tools/sts/all . I'm only seeing downloads for 3.6.1. Does anyone know where this can be done? Thanks. Here is the download URL for OSX (32bit): http://download.springsource.com/release/STS/3.6.0/dist/e4.4/spring-tool-suite-3.6.0.RELEASE-e4.4-macosx-cocoa.tar.gz (are you sure you wanna use 32bit on OSX? I would recommend to use the 64bit version so that you can run that on JDK7 or JDK8): http://download.springsource.com/release/STS/3.6.0/dist/e4.4/spring-tool-suite-3.6.0.RELEASE-e4.4-macosx

Cannot find Spring MVC project when creating new web application project using STS?

天大地大妈咪最大 提交于 2019-11-30 22:11:23
I'm new to Spring MVC and trying to learn from the internet tutorial such as these good ones from journaldev , springsource , and codejava All of those tell me use STS as the IDE and to go for New Project - Spring Template Project - Spring MVC Project . Though in my case, using the version 3.6.1.RELEASE of STS, I can NOT find any Spring MVC Project options there. Do you have the same issue using STS? p.s. I found the solution here for previous version of STS, though it not works for version 3.6.1. Seeing no MVC template snapshot. I've just solved the problem. These are my way: - Go to New

STS Spring MVC: How to include a JS file in a JSP

六月ゝ 毕业季﹏ 提交于 2019-11-30 21:09:40
I installed SpringSource Tool Suite 2.8.0. I'm trying to include a JS file in a JSP, using the Spring MVC template as a starting point. My JSP looks like this: <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page session="false" %> <html> <head> <title>Home</title> <script type="text/javascript" src="/a.js"></script> </head> <body> Hello world! </body> </html> a.js is under src\main\resources and looks like this: window.alert("A"); The result is that "Hello world!" gets printed without the alert :-( I tried putting the JS file in different places, changing the src to be

How can I download older versions of STS? [closed]

一个人想着一个人 提交于 2019-11-30 20:04:43
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I'm looking to download the 3.6.0 sts-bundle but I cannot find the place to do this on https://spring.io/tools/sts/all. I'm only seeing downloads for 3.6.1. Does anyone know where this can be done? Thanks. 回答1: Here is the download URL for OSX (32bit): http://download.springsource.com/release/STS/3.6.0/dist/e4.4

SpringSource IDE does not use project name as root URL for Spring MVC application

ε祈祈猫儿з 提交于 2019-11-30 13:50:08
When I create a Spring MVC Template Project with the SpringSource IDE, I run the application and the root URL is set as the last word of the default package name: For example, when I create the project, I set the default package as com.sample.myapp . When I run the application, it opens at http://localhost:8080/myapp . Why does the root URL not use my project name, MyProject , instead? This is a problem because I have to specify all of the URL's in my application to /myapp/resources/css/mycss.css but when I export a .war and deploy it to a Tomcat server, then Tomcat expects the project name

How to disable autoopen internal webbrowser after run webapp?

徘徊边缘 提交于 2019-11-30 07:55:23
问题 When I run web app on server in STS internal web browser opens. I want to disable this but I don't know where can I do this. 回答1: Eldelshell already sort of answered this, but I think a little more info might help other people. He's correct about going to Window -> Preferences -> General -> Web Browser and creating a new external external browser configuration. This will only work with an executable, though. Thus, entering /dev/null in the "Location" field won't work. What to put there

SpringSource IDE does not use project name as root URL for Spring MVC application

我们两清 提交于 2019-11-29 19:32:42
问题 When I create a Spring MVC Template Project with the SpringSource IDE, I run the application and the root URL is set as the last word of the default package name: For example, when I create the project, I set the default package as com.sample.myapp . When I run the application, it opens at http://localhost:8080/myapp . Why does the root URL not use my project name, MyProject , instead? This is a problem because I have to specify all of the URL's in my application to /myapp/resources/css/mycss