Arthur
Arthur

Reputation: 1176

JHipster gradle: Caused by: java.lang.ClassNotFoundException: org.jboss.logging.BasicLogger

JHipster gradle: Caused by: java.lang.ClassNotFoundException: org.jboss.logging.BasicLogger for single module project

dependencies {
    compile "org.jboss.logging:jboss-logging" }

Pressing Refresh on gradle tab in Intellij does not change the result.

How to fix this?

Upvotes: 1

Views: 742

Answers (2)

Bludwarf
Bludwarf

Reputation: 908

I use to have the same error. Here is how to reproduce it :

  • Create a new application with JHipster with Gradle support
  • Open it in IntelliJ
  • Select a "shorten command line" to avoid this error
  • Run the *App.java file

And how to fix it :

  • Open the "Run/Debug Configuration"
  • Check Include dependencies with "Provided" scope

Configuration

Upvotes: 3

Mohsen
Mohsen

Reputation: 4633

org.jboss.logging is a lib that most of main libs like hibernate and spring are depend on it. So it's not for the dependency problem. Maybe you do something wrong in your application. I suggest you upgrade your jhipster project. It will correct your mistakes. For more information please visit this site: how to upgrade jhipster.

Upvotes: 0

Related Questions