spring-tool-suite

Eclipse+Maven src/main/java not visible in src folder in Package Explorer

て烟熏妆下的殇ゞ 提交于 2019-11-30 10:38:04
问题 I'm wondering why I can't see following folders in src node in Package Explorer src/main/java src/main/resources src/test/java src/test/resources I can access those folders as direct children of the project and they exist in the file system. I'm using Spring Tool Suite (STS of Eclipse). Maybe I can configure Eclipse somehow ? 回答1: Eclipse filters out folders that are marked as source from the "raw" folder path. That is, they are visible only as source folders: If you can't see them in either

Grails GGTS IDE GrailsProcessDiedException: Grails process died

泪湿孤枕 提交于 2019-11-30 05:02:40
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-installer.dmg Operation System is MAC OS X Version 10.7.5 JAVA_HOME /Library/Java/JavaVirtualMachines/jdk1

maven… Failed to clean project: Failed to delete ..\\org.ow2.util.asm-asm-tree-3.1.jar

走远了吗. 提交于 2019-11-30 03:02:37
I use STS(spring tool suite) + maven plugin. Every time when I run my application using maven-clean I see following error: [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building hhsystem ui 1.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ ui --- [INFO] Deleting C:\Users\Nikolay_Tkachev\workspace\HHSystem\UI\target [INFO] ------------------------------------------------------------------------ [INFO]

Eclipse+Maven src/main/java not visible in src folder in Package Explorer

送分小仙女□ 提交于 2019-11-29 20:51:10
I'm wondering why I can't see following folders in src node in Package Explorer src/main/java src/main/resources src/test/java src/test/resources I can access those folders as direct children of the project and they exist in the file system. I'm using Spring Tool Suite (STS of Eclipse). Maybe I can configure Eclipse somehow ? Eclipse filters out folders that are marked as source from the "raw" folder path. That is, they are visible only as source folders: If you can't see them in either place, then they are either filtered out in the settings: check your settings for Package Explorer (the

Unable to connect mysql to spring boot project

99封情书 提交于 2019-11-29 18:34:41
问题 i am following this https://spring.io/guides/gs/accessing-data-mysql/ guide to connect mysql db to spring boot project but getting following error when running the application, i am generating spring starter project and only selecting web, mysql and jpa boxes while creating project via spring tool suite 2018-03-28 16:48:42.125 ERROR 15452 --- [ main] com.zaxxer.hikari.HikariConfig : Failed to load driver class com.mysql.jdbc.Driver from HikariConfig class classloader jdk.internal.loader

Lombok not working with STS

可紊 提交于 2019-11-29 18:11:30
问题 Although I love lombok, it gives too much problems while configuring sometimes, specially in Linux. When I was trying to install it, I was getting the following error: I tried to set it up manually,as suggested here https://github.com/rzwitserloot/lombok/issues/95 but that didn't work out either. Any suggestions? 回答1: I have update the same on the following link. Lombok not generating getter and setter STS 回答2: For the STS on Mac OSX, choose the .ini file, not the .exe file . This is the path

@SpringBootApplication cannot be resolved to a type In STS

会有一股神秘感。 提交于 2019-11-29 16:43:45
问题 I am very new to STS. I searched for this error in stackoverflow. I didn't find correct matching answer. I am able to see the class in MavenDependencies seciton in STS but not able to add the annotation in my java class. Your help will be appriciated. Thanks 回答1: Go to your maven repository directory For windows on below path C:\Users\YourUser\.m2\repository\org\springframework\boot Then delete spring-boot-autoconfigure folder. Now go to eclipse Right click on project -> Maven -> Update

Spring Tools Suite, JPA project and the JPA facet

痴心易碎 提交于 2019-11-29 16:32:56
I am using a fresh install of STS 3.8.3 and I am unable to add the JPA facet to an EJB project: If I try to create a JPA project, I cannot find that option: I am certain these used to be available in STS. What did I miss? We removed those extensions from the default distribution because users reported severe issues (search for JPA Event Handler on SO). In order to avoid this we decided to remove those tools from the distribution and added them to the extension install, so that you can get them back into STS quite easily. However, we can revisit that decision in the future, if those tools don't

The type org.springframework.context.ConfigurableApplicationContext cannot be resolved

[亡魂溺海] 提交于 2019-11-29 14:31:23
问题 I am getting the following error, when i tried to create my first application in Spring Tool Suite: Multiple markers at this line - The type org.springframework.context.ConfigurableApplicationContext cannot be resolved. It is indirectly referenced from required .class files - The method run(Object, String...) from thae type SpringApplication refers to the missing type ConfigurableApplicationContext This is the following pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http:/

Failed to start component - ZipException: invalid LOC header (bad signature) [duplicate]

余生颓废 提交于 2019-11-29 03:43:13
This question already has an answer here: Deploying Maven project throws java.util.zip.ZipException: invalid LOC header (bad signature) 15 answers I have gone through similar posts around. I have tried most of those solutions but was not able to get rid of the error I am getting. Expecting some help on this. This error came after I added maven dependancies to deployment assembly. I am using STS with Pivotal tc Server Development Edition v3.1. I already checked the version of tc server and java home. Both use java 8. I cannot understand what the problem is. SEVERE: ContainerBase.addChild: start