You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Laszlo Kishalmi (Jira)" <ji...@apache.org> on 2020/07/06 05:51:00 UTC
[jira] [Resolved] (NETBEANS-1758) Trying to compile with gradle
bootrun and get cannot find spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT
[ https://issues.apache.org/jira/browse/NETBEANS-1758?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Laszlo Kishalmi resolved NETBEANS-1758.
---------------------------------------
Resolution: Invalid
Version 8.2 is not supported any more.
> Trying to compile with gradle bootrun and get cannot find spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT
> --------------------------------------------------------------------------------------------------------
>
> Key: NETBEANS-1758
> URL: https://issues.apache.org/jira/browse/NETBEANS-1758
> Project: NetBeans
> Issue Type: Bug
> Components: java - Classpath, java - Platform, javaee - Spring
> Affects Versions: 8.2
> Reporter: PETER BORREGGINE
> Priority: Major
> Labels: java, spring-boot, springframework
> Fix For: 8.2
>
> Attachments: classes in Netbeans for Springframework.PNG, file explorer shows where spring lives.PNG, netbeans showing org springframework not exist.png
>
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> I'm running my gradle project with "gradle bootrun" on a cmd prompt window.
> The error I get is this:
> * What went wrong:
> A problem occurred configuring root project 'kyp4-backend'.
> > Could not resolve all artifacts for configuration ':classpath'.
> > Could not find org.springframework.boot:spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT.
> Searched in the following locations:
> - https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.4.0.BUILD-SNAPSHOT/maven-metadata.xml ***<-- PRODUCES 404 ERROR when you go to page***
> - https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.4.0.BUILD-SNAPSHOT/spring-boot-gradle-plugin-1.4.0.BUILD-SNAPSHOT.pom ***<-- PRODUCES 404 ERROR when you go to page***
> - https://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-gradle-plugin/1.4.0.BUILD-SNAPSHOT/spring-boot-gradle-plugin-1.4.0.BUILD-SNAPSHOT.jar ***<-- PRODUCES 404 ERROR when you go to page***
> Required by:
> project :
> ************ GRADLE *****************
> So here's my build.gradle file:
> buildscript {
> ext {
> springBootVersion = '1.5.3.RELEASE'
> }
> repositories {
> mavenCentral()
> }
> dependencies {
> classpath("org.springframework.boot:spring-boot-gradle-plugin:1.4.0.BUILD-SNAPSHOT") ***<-- THIS DOESN'T EXIST on repo.Spring.io. Only 1.2.0 = 5.x*** or ***<-- on repo.spring.io***
> }
> }
> apply plugin: 'java'
> apply plugin: 'idea'
> apply plugin: 'eclipse'
> apply plugin: 'spring-boot'
> apply plugin: 'org.springframework.boot'
> //apply plugin: 'war'
> version = '0.0.1'
> sourceCompatibility = 1.8
> repositories {
> jcenter()
> mavenCentral()
> flatDir {
> dirs 'repository'
> }
> mavenCentral()
> }
> ext {
> springCloudVersion = 'Edgware.SR3'
> }
> dependencies {
> compile('org.springframework.boot:spring-boot-starter-aop')
> compile('org.springframework.boot:spring-boot-starter-security')
> compile('org.springframework.boot:spring-boot-starter-web')
> compile("org.springframework.boot:spring-boot-devtools")
> compile('org.springframework.boot:spring-boot-starter-actuator')
> compile group: 'joda-time', name: 'joda-time'
> compile group: 'com.myfolder', name: 'all_pfs', version: '7.1.9'
> compile group: 'com.myfolder', name: 'pfs-client', version: '7.1.9'
> compile group: 'com.myfolder.pfs.wic', name: 'pfs-wic', version: '1.1.0.RC3'
> compile group: 'com.picketlink.picketlink', name: 'picketlink-fed', version: '2.0.3-SNAPSHOT'
> compile group: 'commons-httpclient', name: 'commons-httpclient', version: '3.1'
> compile group: 'commons-lang', name: 'commons-lang', version: '2.6'
> compile group: 'org.apache.httpcomponents', name: 'httpclient'
> compile group: 'xstream', name: 'xstream', version: '1.2.2'
> compile group: 'javax.ejb', name: 'javax.ejb-api', version: '3.2'
> compile group: 'io.springfox', name: 'springfox-swagger2', version:'2.6.1'
> compile group: 'io.springfox', name: 'springfox-swagger-ui', version:'2.6.1'
>
> compile group: 'org.apache.commons', name: 'commons-io', version: '1.3.2'
>
> compile group: 'commons-beanutils', name: 'commons-beanutils', version: '1.8.3'
>
> compile group: 'org.codehaus.jackson', name: 'jackson-mapper-asl', version: '1.9.13'
> compile group: 'org.springframework', name: 'spring-messaging', version: '4.2.6.RELEASE'
> compile group: 'org.springframework', name: 'spring-websocket', version: '4.3.11.RELEASE'
> compile('org.springframework.boot:spring-boot-starter-test')
> compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '1.5.6.RELEASE'
> testCompile group: 'com.microsoft.sqlserver', name: 'sqljdbc4', version: '4.0'
> compile name: "sqljdbc4-4.0"
>
> //Added to implement slf4j logger
> compile group: 'org.slf4j', name:'slf4j-api', version: '1.7.2'
> //compile group: 'ch.qos.logback', name:'logback-classic', version: '1.0.9'
> //compile group: 'ch.qos.logback', name:'logback-core', version: '1.0.9'
> // jsoup HTML parser library @ https://jsoup.org/
> compile 'org.jsoup:jsoup:1.11.3'
> compile group: 'com.datastax.cassandra',name: 'cassandra-driver-core',version:'3.2.0'
> compile('org.springframework.boot:spring-boot-starter-data-cassandra')
> compile('org.projectlombok:lombok:1.18.2')
>
> compile group: 'com.myfolder.service.fusion.audit.client', name: 'audit-client', version: '2.0.1.RELEASE'
>
> compile group: 'org.apache.httpcomponents', name: 'httpasyncclient', version: '4.1.3'
> }
> dependencyManagement {
> imports {
> mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
> }
> }
> But this is all starting with org.springframework.boot/.context/web.client does not exist:
> Here's a couple images to show:
> !classes in Netbeans for Springframework.PNG!
> I deleted the Netbeans CACHE and let Netbeans rebuild projects and indicies... still, no joy!
> Any help or insight would be greatly appreciated.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists