Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.lang.NoClassDefFoundError: eu/solven/cleanthat/language/IEngineProperties #2380

Open
4 tasks done
hantsy opened this issue Jan 5, 2025 · 0 comments
Open
4 tasks done

Comments

@hantsy
Copy link

hantsy commented Jan 5, 2025

  • summary of problem java.lang.NoClassDefFoundError
  • Maven version 4.0.0.RC2
  • spotless version: maven plugin 2.44.0.BETA4
  • operating system and version Windows 64 Pro/Java 21

The maven config in my project like this.

<plugin>
    <groupId>com.diffplug.spotless</groupId>
    <artifactId>spotless-maven-plugin</artifactId>
    <version>2.44.0.BETA4</version>
    <configuration>
        <java>
            <!-- These are the defaults, you can override if you want -->
            <includes>
                <include>src/main/java/**/*.java</include>
                <include>src/test/java/**/*.java</include>
            </includes>

            <!-- Cleanthat will refactor your code, but it may break your style: apply it before your formatter -->
            <cleanthat/>

            <googleJavaFormat>
                <version>1.25.2</version>
                <style>AOSP</style>
                <reflowLongStrings>true</reflowLongStrings>
            </googleJavaFormat>
            <!-- <eclipse/>  -->
            <!-- <prettier/>   -->

            <importOrder/> 
            <removeUnusedImports/>
            <formatAnnotations/> 
        </java>
    </configuration>
    <executions>
        <execution>
            <goals>
                <goal>check</goal>
            </goals>
            <phase>compile</phase>
        </execution>
    </executions>
</plugin>
[INFO] Index file does not exist. Fallback to an empty index
[ERROR] Step 'cleanthat' found problem in 'ApplicationEvents.java':
eu/solven/cleanthat/language/IEngineProperties
java.lang.NoClassDefFoundError: eu/solven/cleanthat/language/IEngineProperties
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants