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

vaadin-maven-plugin fails with NoSuchMethodError when trying to delete an outdated node version #135

Open
DJGummikuh opened this issue Nov 17, 2022 · 2 comments

Comments

@DJGummikuh
Copy link

When trying to run mvn install, the vaadin-maven-plugin fails with
Caused by: java.lang.NoSuchMethodError: org.apache.commons.io.FileUtils.delete(Ljava/io/File;)Ljava/io/File;
presumably because it's pulling an outdated version of commons-io (2.8.0).
2022-11-16_22-34

This behavior only triggers if it finds an outdated version of node in ~/.vaadin/node and tries to update it (in my case from 14.15.4 to 16.18.0)

Tested with the latest version of the my-todo Getting started project, which pulls VAADIN 23.2.8.
Tested with Maven 3.6.0, 3.8.1 and 3.8.6
Tested with Java 11.0.1+13, 11.0.17+8, 17.0.1+12 and 17.0.5+8

Please see attached files for detailed Maven Output and effective pom.
errorlog.txt
effectivepom.xml.zip

@Artur-
Copy link
Member

Artur- commented Nov 17, 2022

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants