i am trying to create new project in eclipse "Spring started Project" but it gives the error An internal error occurred during: "Building UI model".
com/google/common/base/Function
i am new in spring boot ..please solve the problem also shared screenshot here.
Please install "TestNG plug-in for Eclipse". It will solve the issue.
I found this problem same you. Because your Eclipse and STS version miss match. example I use Eclipse Mar(4.5.x) and download Spring version 3.8.2 this is miss match version.
I have 2 solution
Download Spring Tool suit (STS) at "https://spring.io/tools/sts/legacy"
Please check your Eclipse before download
OR
you can not download STS at "Eclipse Market Place". because eclipse search new version of STS. (is match for new vesion of Eclipse)
you can download at "Install new software". and I use this Link http://dist.springsource.com/release/TOOLS/update/e4.X/
you can insert version match for your Eclipse at "x"
I was also facing same issue. I fixed it by updating all the plugins etc. You need to click on "Check for Updates" in help and proceed further.
I have Eclipse Neon.3 Release (4.6.3). I added STS plugin through Marketplace. (See http://www.adeveloperdiary.com/java/spring-boot/create-spring-boot-application-step-step/)
After that I got the same error while creating new spring starter project.
An internal error occurred during: "Building UI model".
com/google/common/base/Function
After updating all the plugins i am able to creat a new spring starter project.
Regards,
Krishan
Related
After i updated Buildship Eclipse Gradle plugin to 2.0, i cannot create Starter projects anymore.
Using STS 3.8.3.RELEASE
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.
I am running the latest version of NetBeans (7.3) with GlassFish and I have created a maven web project that adds the necessary JSF 2.1 dependency. I am able to deploy the project and access the home page. The problem is that when I try to use the "JSF pages from Entities" wizard, I get the following error "No web folder found". If I try to add the JSF 2.1 framework support thru "Project/Properties/Framework" I get the same error.
I assume that NetBeans does not know that a "web folder" already exists but at a different location "project/src/main/webapp" (maven) instead of "project/web" as it normally expects if the project is a non-maven project. Does anybody know if there is a setting I can change, to let NetBeans know that the web folder is located under "project/src/main/webapp" instead of "project/web"?
I tried to get support thru the NetBeans forum/mailing-list but nobody responded.
I had the same problem when I tried to import an eclipse project.
After editing the "nbproject/project.properties" manually, changing the build.web.dir property to the right directory (WebContent instead of web) it seemed to work.
I am upgrading current project from Roo 1.1.5 to 1.2.1.
I have noticed there are some new features in Roo 1.2.1 to facilitate JPA functionality, i.e. #RooEntity to #RooJpaActiveRecord, but I thought when I open Roo shell in STS it could handler that conversion automatically...I can still achieve that manually, however, after I change the annotation name, no matter I use poll now or re-build the project, all the getter/setter/finder/entityManager are error out due to no AspectJ injection, actually I can see the aspectJ files are generated, STS just cannot identify them with the entity java file. So suddenly the whole project falls apart.
Please, geniuses on the stack, let me know how to fix that. Many thanks in advance.
I have figured out the solution:
Simply speaking: make sure running the project as a Maven project.
How: Right click project->Configure->Convert to Maven Project. Then run Right click project -> Maven -> Update Project Configuration.
Maven will build the project once again with aspect injection. I think the problem is previously my project is compiled under Spring Tools -> Update Maven Dependencies where if the STS/AspectJ Tool stop working, then the project will suffer from missing aspect injection(still thinking it is could be a remaining bug of STS, this issue may be very specific but still STS fail the job).
Sorry I have to answer my own question
Make sure you clean your project eclipse style. That is run Project->Clean.
I am getting the following error when trying to import some existing project (couple of years old project).
"No marketplace entries found to handle maven-antrun-plugin:1.3:run in Eclipse. Please see Help for more information."
I have tried to read information on this error.. but can't find anything that tell what's wrong, and how to fix it.
Help? I have Eclipse Indigo, and M2E Eclipse Plugin
Update - Looks like this is related to Eclipse Indigo having Maven 3, and my pom xml files being old (maven2). I am reverting back to Eclipse Ganymede... :(
This probably relates to a M2E connector not existing for the "run" goal of the maven-antrun-plugin. See http://objectledge.org/confluence/display/TOOLS/M2E+Connectors for more information.
Eclipse is only able to perform a subset of Maven build functions, and the M2E Eclipse plugin helps expand Eclipse's repertoire using its "Connectors", which are available for download in the Marketplace.
I am new to STS and installed the latest version yesterday. Once installed I went to New->Spring Template Project->Simple Spring Batch Project and followed the instructions like giving a project name, specifying a package name and clicked finish.
The project is showing a lot of errors. I tried updating maven dependencies and clicked almost all logical options in maven. I even see that org.springframework is not resolved. I see "Failed to read artificat descriptor errors".
Can anybody guide me here? Since this is a sample project I expected it to compile and run straight away. Am i missing something?
My STS version is 2.7.2 and maven is 4.0
Unfortunately, some of the template projects are a bit out of date. I'd recommend posting on the STS forum for a bit of help on getting them working.
http://forum.springsource.org/forumdisplay.php?32-SpringSource-Tool-Suite