spring-tool-suite

UnsatisfiedLinkError with OpenCV in Tomcat

笑着哭i 提交于 2019-12-30 11:21:30
问题 First of all, I have a basic example of OpenCV running in a main method. However, if I use OpenCV in a Spring Web Controller, an error is thrown. I am getting an UnsatisfiedLinkError when running the following code inside a Tomcat Server, within STS (Spring Tool Suite), and have boiled the problem down to the following code: System.loadLibrary(Core.NATIVE_LIBRARY_NAME); CascadeClassifier cascadeClassifier = new CascadeClassifier(); The run configurations of both the server and the "main"

UnsatisfiedLinkError with OpenCV in Tomcat

爷,独闯天下 提交于 2019-12-30 11:21:27
问题 First of all, I have a basic example of OpenCV running in a main method. However, if I use OpenCV in a Spring Web Controller, an error is thrown. I am getting an UnsatisfiedLinkError when running the following code inside a Tomcat Server, within STS (Spring Tool Suite), and have boiled the problem down to the following code: System.loadLibrary(Core.NATIVE_LIBRARY_NAME); CascadeClassifier cascadeClassifier = new CascadeClassifier(); The run configurations of both the server and the "main"

Grails GGTS IDE GrailsProcessDiedException: Grails process died

雨燕双飞 提交于 2019-12-30 01:02:07
问题 I have faced following weird exception on GGTS IDE . Command terminated with an exception: org.grails.ide.eclipse.longrunning.client.GrailsProcessDiedException: Grails process died (see details for partial output) Grails process died ------System.out:----------- ------System.err:----------- I tried with following releases and still got same issue groovy-grails-tool-suite-3.3.0.RELEASE-e3.8.2-macosx-cocoa-x86_64-installer.dmg groovy-grails-tool-suite-3.3.0.RELEASE-e4.3-macosx-cocoa-x86_64

STS - Cannot start a Spring-Starter-Project using gradle after upgrading to buildship-eclipse-gradle-plugin 2.0

依然范特西╮ 提交于 2019-12-25 09:11:03
问题 After i updated Buildship Eclipse Gradle plugin to 2.0, i cannot create Starter projects anymore. Using STS 3.8.3.RELEASE 回答1: This is a known issue in STS 3.8.3 and got fixed in the meantime. Please refer to https://github.com/spring-projects/spring-ide/issues/90 for more details and how to get the fix immediately. 来源: https://stackoverflow.com/questions/42083469/sts-cannot-start-a-spring-starter-project-using-gradle-after-upgrading-to-buil

How should you load Spring related jar in Eclipse?

ぃ、小莉子 提交于 2019-12-25 04:58:07
问题 I new with spring and is following the example from "Spring in Action 3rd Edition". I want to run the code from the example, so I copied the code. I install Spring STS suite and have a test spring project. It seems it doesn't include spring's jar implicitly so I need to configure the build path and include and jar one by one. And jar is in some strange location too (I think they are installed by Spring STS, although I have no idea whether it include Spring itself). And the spring core depends

Grails app wont start from STS but launches from terminal

不羁的心 提交于 2019-12-25 03:08:10
问题 Here's what I'm getting when I try run-app on STS 2014-03-24 16:14:53,737 [localhost-startStop-1] ERROR StackTrace - Full Stack Trace: java.lang.NullPointerException at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodGetDeclaredAnnotations(ReflectiveInterceptor.java:935) at org.springsource.loaded.ri.ReflectiveInterceptor.jlrMethodGetAnnotations(ReflectiveInterceptor.java:1491) at org.springframework.core.type.StandardAnnotationMetadata.hasAnnotatedMethods(StandardAnnotationMetadata

Server tomcat v8.0 Server at localhot was unable to start within 45 secods

混江龙づ霸主 提交于 2019-12-25 02:37:10
问题 I'm using STS tools and Framework Hibernate + Spring to build web application. I got error on the screen ( Server tomcat v8.0 Server at localhot was unable to start within 45 secods ) when build using apache. I'have increase the limit into max 145 second, but didn't work and change configuration apache based on internet finding but still not working. Need advice. Thanks. 回答1: I faced this issue today. I started my Hibernate Web App with the option Run On Server . Logs: INFO: Initializing c3p0

Spring tool suite can not automatically show fields variable name suggest?

你说的曾经没有我的故事 提交于 2019-12-25 00:38:02
问题 Can not get variable name suggest in fields,but work in local variable name,how to fix it? Java Variable type 回答1: Try restoring the default content assist options in Windows > Preferences > Java > Editor > Content Assist > Advanced Below is an example of what it would look like but you might have different options checked. Select the proposal kinds contained in the 'default' content assist list: Other Java Proposals, SWT Template Proposals, Template Proposals, Type Proposals You can try

Spring Tool Suite - Unable to change my welcome page fron index.html to index.jsp

耗尽温柔 提交于 2019-12-24 19:44:24
问题 I'm just using the guide "Serving Web Content" as a basis for one of my projects. I simply would like to change the welcome page from index.html to index.jsp. That's it. This is my Package Explorer: Moreover, do you think that this Spring guide is a good basis to start a new project (e.g. for the structure of the files)? I'm a novice. Thank you 来源: https://stackoverflow.com/questions/49211178/spring-tool-suite-unable-to-change-my-welcome-page-fron-index-html-to-index-js

Spring Tools Suite and Gradle - Setup to use correct resources from inside STS

て烟熏妆下的殇ゞ 提交于 2019-12-24 16:19:44
问题 I have a Spring Boot Gradle project setup in Spring Tools Suite (3.7.2 RELEASE) with the following source folders: - src/integration-test/java - src/integration-test/resources - src/main/java - src/main/resources - src/test/java - src/test/resources` Whenever I run the application or unit tests from within STS, I see that STS is using the resources found under src/integration-test/resources . I see a duplicate resource warning in STS for files which exist in all 3 resource source folders. For