У меня есть проект JavaFX, и я использую Maven для управления зависимостями. Все работает нормально, пока я не добавлю зависимость maven для «mariadb-java-client», чтобы получить драйвер JDBC MariaDB. Затем я получаю сообщение об ошибке «java.lang.NoClassDefFoundError: org.slf4j.Logger».
org.mariadb.jdbc
mariadb-java-client
3.3.3
Я получаю следующую ошибку:
Exception in Application init method
Exception in thread "main" java.lang.RuntimeException: Exception in Application init method
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:888)
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:857)
Caused by: java.lang.NoClassDefFoundError: org.slf4j.Logger
at org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:36)
at org.apache.commons.logging.LogAdapter$Log4jLog.(LogAdapter.java:159)
at org.apache.commons.logging.LogAdapter$Log4jAdapter.createLog(LogAdapter.java:113)
at org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:95)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)
at spring.boot@3.2.2/org.springframework.boot.SpringApplication.(SpringApplication.java:202)
at com.mypackage/com.mypackage.CustomerApp.init(CustomerApp.java:72)
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:817)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:827)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1095)
... 11 more
Ошибка выдается при запуске приложения. Единственная строка кода в моем коде от точки трассировки стека до строки 72 в CustomerApp.java, которая представляет собой следующий фрагмент кода на этапе инициализации приложения, где я установил контекст Spring:
@Override
public void init() throws Exception {
springContext = SpringApplication.run(CustomerApp.class);
}
Я попробовал все, что нашел в предыдущих вопросах. Я пытался добавить "slf4j-api" , "slf4j-log4j12", " s l f 4 j - s i m p l e " < / к о д > и т . д . < / p > < b r / > Н и ч е г о н е п о м о г л о . < / p > < b r / > М о и з а в и с и м о с т и в p o m . x m l : < / p > < b r / > < c o d e > & l t ; d e p e n d e n c i e s & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - c o n t r o l s & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - f x m l & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - g r a p h i c s & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - w e b & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - s w i n g & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g roupId>org.controlsfx
controlsfx
11.1.2
org.junit.jupiter
junit-jupiter-api
${junit.version}
test
org.junit.jupiter
junit-jupiter-engine
${junit.version}
test
org.projectlombok
lombok
1.18.28
compile
org.hsqldb
hsqldb
2.7.2
jakarta.persistence
jakarta.persistence-api
3.1.0
com.fasterxml.jackson.core
jackson-databind
2.15.2
de.jensd
fontawesomefx
8.9
org.springframework.boot
spring-boot-starter-test
test
org.springframework.restdocs
spring-restdocs-mockmvc
3.0.0
test
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-data-jpa
io.github.palexdev
scenicview
17.0.2
org.springframework.data
spring-data-jpa
3.1.4
org.springframework.boot
spring-boot-starter-data-jpa
3.1.4
org.springdoc
springdoc-openapi-starter-webmvc-ui
2.2.0
javax.annotation
javax.annotation-api
1.3.2
javax.xml.bind
jaxb-api
2.3.1
org.springframework
spring-jdbc
6.1.4
org.mariadb.jdbc
mariadb-java-client
3.3.3
Вывод зависимости mvn:tree:
com.mypackage:artifact_CustomerApp:jar:1.1-SNAPSHOT
+- org.openjfx:javafx-controls:jar:win:20.0.2:compile
| \- org.openjfx:javafx-graphics:jar:20.0.2:compile
+- org.openjfx:javafx-fxml:jar:win:20.0.2:compile
| \- org.openjfx:javafx-controls:jar:20.0.2:compile
+- org.openjfx:javafx-graphics:jar:win:20.0.2:compile
| \- org.openjfx:javafx-base:jar:20.0.2:compile
| \- org.openjfx:javafx-base:jar:win:20.0.2:compile
+- org.openjfx:javafx-web:jar:win:20.0.2:compile
| \- org.openjfx:javafx-media:jar:20.0.2:compile
| \- org.openjfx:javafx-media:jar:win:20.0.2:compile
+- org.openjfx:javafx-swing:jar:win:20.0.2:compile
+- org.controlsfx:controlsfx:jar:11.1.2:compile
+- org.junit.jupiter:junit-jupiter-api:jar:5.9.2:test
| +- org.opentest4j:opentest4j:jar:1.2.0:test
| +- org.junit.platform:junit-platform-commons:jar:1.10.1:test
| \- org.apiguardian:apiguardian-api:jar:1.1.2:test
+- org.junit.jupiter:junit-jupiter-engine:jar:5.9.2:test
| \- org.junit.platform:junit-platform-engine:jar:1.10.1:test
+- org.projectlombok:lombok:jar:1.18.28:compile
+- org.hsqldb:hsqldb:jar:2.7.2:compile
+- jakarta.persistence:jakarta.persistence-api:jar:3.1.0:compile
+- com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile
| +- com.fasterxml.jackson.core:jackson-annotations:jar:2.15.3:compile
| \- com.fasterxml.jackson.core:jackson-core:jar:2.15.3:compile
+- de.jensd:fontawesomefx:jar:8.9:compile
+- org.springframework.boot:spring-boot-starter-test:jar:3.2.2:test
| +- org.springframework.boot:spring-boot-starter:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot-starter-logging:jar:3.2.2:compile
| | | +- ch.qos.logback:logback-classic:jar:1.4.14:compile
| | | | \- ch.qos.logback:logback-core:jar:1.4.14:compile
| | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.21.1:compile
| | | | \- org.apache.logging.log4j:log4j-api:jar:2.21.1:compile
| | | \- org.slf4j:jul-to-slf4j:jar:2.0.11:compile
| | \- org.yaml:snakeyaml:jar:2.2:compile
| +- org.springframework.boot:spring-boot-test:jar:3.2.2:test
| +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.2:test
| +- com.jayway.jsonpath:json-path:jar:2.8.0:test
| +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.1:compile
| | \- jakarta.activation:jakarta.activation-api:jar:2.1.2:compile
| +- net.minidev:json-smart:jar:2.5.0:test
| | \- net.minidev:accessors-smart:jar:2.5.0:test
| | \- org.ow2.asm:asm:jar:9.3:test
| +- org.assertj:assertj-core:jar:3.24.2:test
| | \- net.bytebuddy:byte-buddy:jar:1.14.11:runtime
| +- org.awaitility:awaitility:jar:4.2.0:test
| +- org.hamcrest:hamcrest:jar:2.2:test
| +- org.junit.jupiter:junit-jupiter:jar:5.10.1:test
| | \- org.junit.jupiter:junit-jupiter-params:jar:5.10.1:test
| +- org.mockito:mockito-core:jar:5.7.0:test
| | +- net.bytebuddy:byte-buddy-agent:jar:1.14.11:test
| | \- org.objenesis:objenesis:jar:3.3:test
| +- org.mockito:mockito-junit-jupiter:jar:5.7.0:test
| +- org.skyscreamer:jsonassert:jar:1.5.1:test
| | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
| +- org.springframework:spring-core:jar:6.1.3:compile
| | \- org.springframework:spring-jcl:jar:6.1.3:compile
| +- org.springframework:spring-test:jar:6.1.3:test
| \- org.xmlunit:xmlunit-core:jar:2.9.1:test
+- org.springframework.restdocs:spring-restdocs-mockmvc:jar:3.0.0:test
| +- org.springframework.restdocs:spring-restdocs-core:jar:3.0.1:test
| +- org.springframework:spring-webmvc:jar:6.1.3:compile
| | \- org.springframework:spring-expression:jar:6.1.3:compile
| \- jakarta.servlet:jakarta.servlet-api:jar:6.0.0:test
+- org.springframework.boot:spring-boot-starter-web:jar:3.2.2:compile
| +- org.springframework.boot:spring-boot-starter-json:jar:3.2.2:compile
| | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.15.3:compile
| | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.3:compile
| | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.15.3:compile
| +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.2:compile
| | +- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.18:compile
| | +- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.18:compile
| | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:10.1.18:compile
| \- org.springframework:spring-web:jar:6.1.3:compile
| \- io.micrometer:micrometer-observation:jar:1.12.2:compile
| \- io.micrometer:micrometer-commons:jar:1.12.2:compile
+- org.springframework.boot:spring-boot-starter-data-jpa:jar:3.1.4:compile
| +- org.springframework.boot:spring-boot-starter-aop:jar:3.2.2:compile
| | \- org.aspectj:aspectjweaver:jar:1.9.21:compile
| +- org.springframework.boot:spring-boot-starter-jdbc:jar:3.2.2:compile
| | \- com.zaxxer:HikariCP:jar:5.0.1:compile
| +- org.hibernate.orm:hibernate-core:jar:6.4.1.Final:compile
| | +- jakarta.transaction:jakarta.transaction-api:jar:2.0.1:compile
| | +- org.jboss.logging:jboss-logging:jar:3.5.3.Final:runtime
| | +- org.hibernate.common:hibernate-commons-annotations:jar:6.0.6.Final:runtime
| | +- io.smallrye:jandex:jar:3.1.2:runtime
| | +- com.fasterxml:classmate:jar:1.6.0:runtime
| | +- org.glassfish.jaxb:jaxb-runtime:jar:4.0.4:runtime
| | | \- org.glassfish.jaxb:jaxb-core:jar:4.0.4:runtime
| | | +- org.eclipse.angus:angus-activation:jar:2.0.1:runtime
| | | +- org.glassfish.jaxb:txw2:jar:4.0.4:runtime
| | | \- com.sun.istack:istack-commons-runtime:jar:4.1.2:runtime
| | \- jakarta.inject:jakarta.inject-api:jar:2.0.1:runtime
| \- org.springframework:spring-aspects:jar:6.1.3:compile
+- io.github.palexdev:scenicview:jar:17.0.2:compile
| +- org.openjfx:javafx-base:jar:linux:18:runtime
| +- org.openjfx:javafx-graphics:jar:linux:18:runtime
| +- org.openjfx:javafx-fxml:jar:linux:18:runtime
| \- org.openjfx:javafx-controls:jar:linux:18:runtime
+- org.springframework.data:spring-data-jpa:jar:3.1.4:compile
| +- org.springframework.data:spring-data-commons:jar:3.2.2:compile
| +- org.springframework:spring-orm:jar:6.1.3:compile
| +- org.springframework:spring-context:jar:6.1.3:compile
| +- org.springframework:spring-aop:jar:6.1.3:compile
| +- org.springframework:spring-tx:jar:6.1.3:compile
| +- org.springframework:spring-beans:jar:6.1.3:compile
| +- org.antlr:antlr4-runtime:jar:4.10.1:compile
| +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
| \- org.slf4j:slf4j-api:jar:2.0.11:compile
+- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.2.0:compile
| +- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.2.0:compile
| | \- org.springdoc:springdoc-openapi-starter-common:jar:2.2.0:compile
| | \- io.swagger.core.v3:swagger-core-jakarta:jar:2.2.15:compile
| | +- org.apache.commons:commons-lang3:jar:3.13.0:compile
| | +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.15:compile
| | +- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.15:compile
| | +- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
| | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.15.3:compile
| \- org.webjars:swagger-ui:jar:5.2.0:compile
+- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+- javax.xml.bind:jaxb-api:jar:2.3.1:compile
| \- javax.activation:javax.activation-api:jar:1.2.0:compile
+- org.springframework:spring-jdbc:jar:6.1.4:compile
\- org.mariadb.jdbc:mariadb-java-client:jar:3.3.3:compile
\- com.github.waffle:waffle-jna:jar:3.3.0:compile
+- net.java.dev.jna:jna:jar:5.13.0:compile
+- net.java.dev.jna:jna-platform:jar:5.13.0:compile
+- org.slf4j:jcl-over-slf4j:jar:2.0.11:compile
+- com.github.ben-manes.caffeine:caffeine:jar:3.1.8:compile
| \- com.google.errorprone:error_prone_annotations:jar:2.21.1:compile
\- org.checkerframework:checker-qual:jar:3.32.0:compile
Подробнее здесь: https://stackoverflow.com/questions/781 ... lang-nocla
После добавления зависимости maven "mariadb-java-client" я получаю ошибку "java.lang.NoClassDefFoundError: org.slf4j.Log ⇐ JAVA
Программисты JAVA общаются здесь
1766429426
Anonymous
У меня есть проект JavaFX, и я использую Maven для управления зависимостями. Все работает нормально, пока я не добавлю зависимость maven для «mariadb-java-client», чтобы получить драйвер JDBC MariaDB. Затем я получаю сообщение об ошибке «java.lang.NoClassDefFoundError: org.slf4j.Logger».
org.mariadb.jdbc
mariadb-java-client
3.3.3
Я получаю следующую ошибку:
Exception in Application init method
Exception in thread "main" java.lang.RuntimeException: Exception in Application init method
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:888)
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
at java.base/java.lang.Thread.run(Thread.java:857)
Caused by: java.lang.NoClassDefFoundError: org.slf4j.Logger
at org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:36)
at org.apache.commons.logging.LogAdapter$Log4jLog.(LogAdapter.java:159)
at org.apache.commons.logging.LogAdapter$Log4jAdapter.createLog(LogAdapter.java:113)
at org.apache.commons.logging.LogAdapter.createLog(LogAdapter.java:95)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:67)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:59)
at spring.boot@3.2.2/org.springframework.boot.SpringApplication.(SpringApplication.java:202)
at com.mypackage/com.mypackage.CustomerApp.init(CustomerApp.java:72)
at javafx.graphics@20.0.2/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:817)
... 2 more
Caused by: java.lang.ClassNotFoundException: org.slf4j.Logger
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:827)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:1095)
... 11 more
Ошибка выдается при запуске приложения. Единственная строка кода в моем коде от точки трассировки стека до строки 72 в CustomerApp.java, которая представляет собой следующий фрагмент кода на этапе инициализации приложения, где я установил контекст Spring:
@Override
public void init() throws Exception {
springContext = SpringApplication.run(CustomerApp.class);
}
Я попробовал все, что нашел в предыдущих вопросах. Я пытался добавить "slf4j-api" , "slf4j-log4j12", " s l f 4 j - s i m p l e " < / к о д > и т . д . < / p > < b r / > Н и ч е г о н е п о м о г л о . < / p > < b r / > М о и з а в и с и м о с т и в p o m . x m l : < / p > < b r / > < c o d e > & l t ; d e p e n d e n c i e s & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - c o n t r o l s & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - f x m l & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - g r a p h i c s & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - w e b & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g r o u p I d & g t ; o r g . o p e n j f x & l t ; / g r o u p I d & g t ; < b r / > & l t ; a r t i f a c t I d & g t ; j a v a f x - s w i n g & l t ; / a r t i f a c t I d & g t ; < b r / > & l t ; v e r s i o n & g t ; $ { j a v a f x . v e r s i o n } & l t ; / v e r s i o n & g t ; < b r / > & l t ; c l a s s i f i e r & g t ; $ { j a v a f x . c l a s s i f i e r } & l t ; / c l a s s i f i e r & g t ; < b r / > & l t ; / d e p e n d e n c y & g t ; < b r / > & l t ; d e p e n d e n c y & g t ; < b r / > & l t ; g roupId>org.controlsfx
controlsfx
11.1.2
org.junit.jupiter
junit-jupiter-api
${junit.version}
test
org.junit.jupiter
junit-jupiter-engine
${junit.version}
test
org.projectlombok
lombok
1.18.28
compile
org.hsqldb
hsqldb
2.7.2
jakarta.persistence
jakarta.persistence-api
3.1.0
com.fasterxml.jackson.core
jackson-databind
2.15.2
de.jensd
fontawesomefx
8.9
org.springframework.boot
spring-boot-starter-test
test
org.springframework.restdocs
spring-restdocs-mockmvc
3.0.0
test
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-data-jpa
io.github.palexdev
scenicview
17.0.2
org.springframework.data
spring-data-jpa
3.1.4
org.springframework.boot
spring-boot-starter-data-jpa
3.1.4
org.springdoc
springdoc-openapi-starter-webmvc-ui
2.2.0
javax.annotation
javax.annotation-api
1.3.2
javax.xml.bind
jaxb-api
2.3.1
org.springframework
spring-jdbc
6.1.4
org.mariadb.jdbc
mariadb-java-client
3.3.3
Вывод зависимости mvn:tree:
com.mypackage:artifact_CustomerApp:jar:1.1-SNAPSHOT
+- org.openjfx:javafx-controls:jar:win:20.0.2:compile
| \- org.openjfx:javafx-graphics:jar:20.0.2:compile
+- org.openjfx:javafx-fxml:jar:win:20.0.2:compile
| \- org.openjfx:javafx-controls:jar:20.0.2:compile
+- org.openjfx:javafx-graphics:jar:win:20.0.2:compile
| \- org.openjfx:javafx-base:jar:20.0.2:compile
| \- org.openjfx:javafx-base:jar:win:20.0.2:compile
+- org.openjfx:javafx-web:jar:win:20.0.2:compile
| \- org.openjfx:javafx-media:jar:20.0.2:compile
| \- org.openjfx:javafx-media:jar:win:20.0.2:compile
+- org.openjfx:javafx-swing:jar:win:20.0.2:compile
+- org.controlsfx:controlsfx:jar:11.1.2:compile
+- org.junit.jupiter:junit-jupiter-api:jar:5.9.2:test
| +- org.opentest4j:opentest4j:jar:1.2.0:test
| +- org.junit.platform:junit-platform-commons:jar:1.10.1:test
| \- org.apiguardian:apiguardian-api:jar:1.1.2:test
+- org.junit.jupiter:junit-jupiter-engine:jar:5.9.2:test
| \- org.junit.platform:junit-platform-engine:jar:1.10.1:test
+- org.projectlombok:lombok:jar:1.18.28:compile
+- org.hsqldb:hsqldb:jar:2.7.2:compile
+- jakarta.persistence:jakarta.persistence-api:jar:3.1.0:compile
+- com.fasterxml.jackson.core:jackson-databind:jar:2.15.2:compile
| +- com.fasterxml.jackson.core:jackson-annotations:jar:2.15.3:compile
| \- com.fasterxml.jackson.core:jackson-core:jar:2.15.3:compile
+- de.jensd:fontawesomefx:jar:8.9:compile
+- org.springframework.boot:spring-boot-starter-test:jar:3.2.2:test
| +- org.springframework.boot:spring-boot-starter:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot-autoconfigure:jar:3.2.2:compile
| | +- org.springframework.boot:spring-boot-starter-logging:jar:3.2.2:compile
| | | +- ch.qos.logback:logback-classic:jar:1.4.14:compile
| | | | \- ch.qos.logback:logback-core:jar:1.4.14:compile
| | | +- org.apache.logging.log4j:log4j-to-slf4j:jar:2.21.1:compile
| | | | \- org.apache.logging.log4j:log4j-api:jar:2.21.1:compile
| | | \- org.slf4j:jul-to-slf4j:jar:2.0.11:compile
| | \- org.yaml:snakeyaml:jar:2.2:compile
| +- org.springframework.boot:spring-boot-test:jar:3.2.2:test
| +- org.springframework.boot:spring-boot-test-autoconfigure:jar:3.2.2:test
| +- com.jayway.jsonpath:json-path:jar:2.8.0:test
| +- jakarta.xml.bind:jakarta.xml.bind-api:jar:4.0.1:compile
| | \- jakarta.activation:jakarta.activation-api:jar:2.1.2:compile
| +- net.minidev:json-smart:jar:2.5.0:test
| | \- net.minidev:accessors-smart:jar:2.5.0:test
| | \- org.ow2.asm:asm:jar:9.3:test
| +- org.assertj:assertj-core:jar:3.24.2:test
| | \- net.bytebuddy:byte-buddy:jar:1.14.11:runtime
| +- org.awaitility:awaitility:jar:4.2.0:test
| +- org.hamcrest:hamcrest:jar:2.2:test
| +- org.junit.jupiter:junit-jupiter:jar:5.10.1:test
| | \- org.junit.jupiter:junit-jupiter-params:jar:5.10.1:test
| +- org.mockito:mockito-core:jar:5.7.0:test
| | +- net.bytebuddy:byte-buddy-agent:jar:1.14.11:test
| | \- org.objenesis:objenesis:jar:3.3:test
| +- org.mockito:mockito-junit-jupiter:jar:5.7.0:test
| +- org.skyscreamer:jsonassert:jar:1.5.1:test
| | \- com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1:test
| +- org.springframework:spring-core:jar:6.1.3:compile
| | \- org.springframework:spring-jcl:jar:6.1.3:compile
| +- org.springframework:spring-test:jar:6.1.3:test
| \- org.xmlunit:xmlunit-core:jar:2.9.1:test
+- org.springframework.restdocs:spring-restdocs-mockmvc:jar:3.0.0:test
| +- org.springframework.restdocs:spring-restdocs-core:jar:3.0.1:test
| +- org.springframework:spring-webmvc:jar:6.1.3:compile
| | \- org.springframework:spring-expression:jar:6.1.3:compile
| \- jakarta.servlet:jakarta.servlet-api:jar:6.0.0:test
+- org.springframework.boot:spring-boot-starter-web:jar:3.2.2:compile
| +- org.springframework.boot:spring-boot-starter-json:jar:3.2.2:compile
| | +- com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.15.3:compile
| | +- com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.15.3:compile
| | \- com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.15.3:compile
| +- org.springframework.boot:spring-boot-starter-tomcat:jar:3.2.2:compile
| | +- org.apache.tomcat.embed:tomcat-embed-core:jar:10.1.18:compile
| | +- org.apache.tomcat.embed:tomcat-embed-el:jar:10.1.18:compile
| | \- org.apache.tomcat.embed:tomcat-embed-websocket:jar:10.1.18:compile
| \- org.springframework:spring-web:jar:6.1.3:compile
| \- io.micrometer:micrometer-observation:jar:1.12.2:compile
| \- io.micrometer:micrometer-commons:jar:1.12.2:compile
+- org.springframework.boot:spring-boot-starter-data-jpa:jar:3.1.4:compile
| +- org.springframework.boot:spring-boot-starter-aop:jar:3.2.2:compile
| | \- org.aspectj:aspectjweaver:jar:1.9.21:compile
| +- org.springframework.boot:spring-boot-starter-jdbc:jar:3.2.2:compile
| | \- com.zaxxer:HikariCP:jar:5.0.1:compile
| +- org.hibernate.orm:hibernate-core:jar:6.4.1.Final:compile
| | +- jakarta.transaction:jakarta.transaction-api:jar:2.0.1:compile
| | +- org.jboss.logging:jboss-logging:jar:3.5.3.Final:runtime
| | +- org.hibernate.common:hibernate-commons-annotations:jar:6.0.6.Final:runtime
| | +- io.smallrye:jandex:jar:3.1.2:runtime
| | +- com.fasterxml:classmate:jar:1.6.0:runtime
| | +- org.glassfish.jaxb:jaxb-runtime:jar:4.0.4:runtime
| | | \- org.glassfish.jaxb:jaxb-core:jar:4.0.4:runtime
| | | +- org.eclipse.angus:angus-activation:jar:2.0.1:runtime
| | | +- org.glassfish.jaxb:txw2:jar:4.0.4:runtime
| | | \- com.sun.istack:istack-commons-runtime:jar:4.1.2:runtime
| | \- jakarta.inject:jakarta.inject-api:jar:2.0.1:runtime
| \- org.springframework:spring-aspects:jar:6.1.3:compile
+- io.github.palexdev:scenicview:jar:17.0.2:compile
| +- org.openjfx:javafx-base:jar:linux:18:runtime
| +- org.openjfx:javafx-graphics:jar:linux:18:runtime
| +- org.openjfx:javafx-fxml:jar:linux:18:runtime
| \- org.openjfx:javafx-controls:jar:linux:18:runtime
+- org.springframework.data:spring-data-jpa:jar:3.1.4:compile
| +- org.springframework.data:spring-data-commons:jar:3.2.2:compile
| +- org.springframework:spring-orm:jar:6.1.3:compile
| +- org.springframework:spring-context:jar:6.1.3:compile
| +- org.springframework:spring-aop:jar:6.1.3:compile
| +- org.springframework:spring-tx:jar:6.1.3:compile
| +- org.springframework:spring-beans:jar:6.1.3:compile
| +- org.antlr:antlr4-runtime:jar:4.10.1:compile
| +- jakarta.annotation:jakarta.annotation-api:jar:2.1.1:compile
| \- org.slf4j:slf4j-api:jar:2.0.11:compile
+- org.springdoc:springdoc-openapi-starter-webmvc-ui:jar:2.2.0:compile
| +- org.springdoc:springdoc-openapi-starter-webmvc-api:jar:2.2.0:compile
| | \- org.springdoc:springdoc-openapi-starter-common:jar:2.2.0:compile
| | \- io.swagger.core.v3:swagger-core-jakarta:jar:2.2.15:compile
| | +- org.apache.commons:commons-lang3:jar:3.13.0:compile
| | +- io.swagger.core.v3:swagger-annotations-jakarta:jar:2.2.15:compile
| | +- io.swagger.core.v3:swagger-models-jakarta:jar:2.2.15:compile
| | +- jakarta.validation:jakarta.validation-api:jar:3.0.2:compile
| | \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.15.3:compile
| \- org.webjars:swagger-ui:jar:5.2.0:compile
+- javax.annotation:javax.annotation-api:jar:1.3.2:compile
+- javax.xml.bind:jaxb-api:jar:2.3.1:compile
| \- javax.activation:javax.activation-api:jar:1.2.0:compile
+- org.springframework:spring-jdbc:jar:6.1.4:compile
\- org.mariadb.jdbc:mariadb-java-client:jar:3.3.3:compile
\- com.github.waffle:waffle-jna:jar:3.3.0:compile
+- net.java.dev.jna:jna:jar:5.13.0:compile
+- net.java.dev.jna:jna-platform:jar:5.13.0:compile
+- org.slf4j:jcl-over-slf4j:jar:2.0.11:compile
+- com.github.ben-manes.caffeine:caffeine:jar:3.1.8:compile
| \- com.google.errorprone:error_prone_annotations:jar:2.21.1:compile
\- org.checkerframework:checker-qual:jar:3.32.0:compile
Подробнее здесь: [url]https://stackoverflow.com/questions/78123649/after-adding-mariadb-java-client-maven-dependency-i-get-error-java-lang-nocla[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия