You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Versions 0.5.0/0.6.1 fail with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink #116
Hi @cicirello!
Thank you for your bug report! I noticed that you're using it in several of your repositories - thank you! I'd be happy to try to reproduce the issue locally. There weren't any changes to the Maven Report dependency versions between RefactorFirst versions 0.5.0 and 0.6.1 looking at commit history.
What is the URL of the repository you're having issues with?
What version of Maven are you using? I'm thinking this might play a part in the issue.
What OS are you running on? (though I don't think this will have an impact)
Hi @jimbethancourt yes, I use it in several repositories (great tool by the way). Here are some more details.
It actually appears that I get the same error with 0.5.0. But, 0.4.0 is working fine. I thought that I had actually tried 0.5.0, but I apparently hadn't actually used 0.5.0 after updating to it. So the issue actually appeared in 0.5.0 for me.
Hi again @jimbethancourt after my previous reply above, I decided to update Maven to see whether that makes a difference. I still get the same error with Apache Maven 3.9.9.
changed the title [-]Version 0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/-][+]Versions 0.5.0/0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/+]on Nov 16, 2024
changed the title [-]Versions 0.5.0/0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/-][+]Versions 0.5.0/0.6.1 fail with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/+]on Nov 16, 2024
Good news @cicirello! It turns out that the issue is resolved if the doxia-reporting dependencies are upgraded to version 4.0.0. I should be able to cut a release tomorrow. It looks like I need to upgrade a few dependencies with CVSS scores higher than I'm comfortable with as well.
Activity
jimbethancourt commentedon Nov 14, 2024
Hi @cicirello!
Thank you for your bug report! I noticed that you're using it in several of your repositories - thank you! I'd be happy to try to reproduce the issue locally. There weren't any changes to the Maven Report dependency versions between RefactorFirst versions 0.5.0 and 0.6.1 looking at commit history.
What is the URL of the repository you're having issues with?
What version of Maven are you using? I'm thinking this might play a part in the issue.
What OS are you running on? (though I don't think this will have an impact)
Thanks!
Jim
cicirello commentedon Nov 14, 2024
Hi @jimbethancourt yes, I use it in several repositories (great tool by the way). Here are some more details.
It actually appears that I get the same error with 0.5.0. But, 0.4.0 is working fine. I thought that I had actually tried 0.5.0, but I apparently hadn't actually used 0.5.0 after updating to it. So the issue actually appeared in 0.5.0 for me.
Repository:
The repository where I discovered the issue is: https://github.com/cicirello/Chips-n-Salsa
I checked a few others where I use the same plugins, etc, and I get the same error in the following repositories as well.
https://github.com/cicirello/JavaPermutationTools
https://github.com/cicirello/rho-mu
https://github.com/cicirello/core
The last one of the above has the shortest build time of those 4 repositories, and also doesn't have any dependencies other than Maven plug-ins.
I have RefactorFirst configured in a profile. You can activate it with the following to reproduce the error (for any of the above repositories):
mvn clean package -P "analysis"Operating System: Windows 10
Maven: Apache Maven 3.8.5
Java:
openjdk version "17.0.2" 2022-01-18
OpenJDK Runtime Environment Temurin-17.0.2+8 (build 17.0.2+8)
OpenJDK 64-Bit Server VM Temurin-17.0.2+8 (build 17.0.2+8, mixed mode, sharing)
Thanks,
Vince
cicirello commentedon Nov 14, 2024
Hi again @jimbethancourt after my previous reply above, I decided to update Maven to see whether that makes a difference. I still get the same error with Apache Maven 3.9.9.
[-]Version 0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/-][+]Versions 0.5.0/0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/+][-]Versions 0.5.0/0.6.1 fails with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/-][+]Versions 0.5.0/0.6.1 fail with error NoClassDefFoundError: org/codehaus/doxia/sink/Sink[/+]jimbethancourt commentedon Nov 17, 2024
Good news @cicirello! It turns out that the issue is resolved if the doxia-reporting dependencies are upgraded to version 4.0.0. I should be able to cut a release tomorrow. It looks like I need to upgrade a few dependencies with CVSS scores higher than I'm comfortable with as well.
jimbethancourt commentedon Nov 17, 2024
And thank you for your kind words!
cicirello commentedon Nov 17, 2024
@jimbethancourt great. Thanks for the update.
#116 #119 Fix Doxia issues
Merge pull request #120 from refactorfirst/minor-enhancements
jimbethancourt commentedon Nov 17, 2024
I just released version 0.6.2 that should fix this problem. It should be available in a few hours and definitely by tomorrow.
cicirello commentedon Nov 19, 2024
@jimbethancourt thanks. I tried it out. Works great.
jimbethancourt commentedon Nov 19, 2024
Thanks @cicirello! That's great news!