Hi,
I tried to install the Charts addon in my JMIX application and got the following problem:
Could not find or load main class io.jmix.gradle.ClassPathCommandLine
I couldn’t manage to start the app anymore. So I uninstalled the plugin to solve the problem.
Unfortunately the problem persists and I am not able to start my app anymore.
Have tried to find information to solve the problem but the class doesn’t show up nor in this forum nor in a generic search in Google.
Would appreciate if someone could give a hint to resolve the problem.
My build.gradle file is as follows:
plugins {
id 'io.jmix' version '1.0.2'
id 'java'
}
apply plugin: 'org.springframework.boot'
jmix {
bomVersion = '1.0.1'
projectId = 'contabi'
}
group = 'com.company'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
repositories {
mavenCentral()
maven {
url 'https://global.repo.jmix.io/repository/public'
}
}
dependencies {
implementation 'io.jmix.core:jmix-core-starter'
implementation 'io.jmix.data:jmix-eclipselink-starter'
implementation 'io.jmix.ui:jmix-ui-starter'
implementation 'io.jmix.ui:jmix-ui-data-starter'
implementation 'io.jmix.ui:jmix-ui-themes-compiled'
implementation 'io.jmix.security:jmix-security-starter'
implementation 'io.jmix.security:jmix-security-ui-starter'
implementation 'io.jmix.security:jmix-security-data-starter'
implementation 'io.jmix.localfs:jmix-localfs-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation('org.springframework.boot:spring-boot-starter-test') {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
runtimeOnly 'mysql:mysql-connector-java'
implementation "io.jmix.reports:jmix-reports-starter"
implementation "io.jmix.reports:jmix-reports-ui-starter"
implementation "io.jmix.reports:jmix-reports-rest-starter"
widgets "io.jmix.ui:jmix-ui-widgets"
}
test {
useJUnitPlatform()
}
compileWidgets {
generate "contabilidad.widgets.CustomWidgetSet"
}
Many thanks in advance.
Carlos.