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
Describe the bug
The Java sample README says to run mvn exec:java from within the simple-console directory. However, for me, that was insufficient. Maven complained about not being able to find the main file - I got a class not found exception at the terminal. I couldn't run the sample.
To Reproduce
Steps to reproduce the behavior:
Clone the repo
Navigate to the simple-console Java directory
Run mvn exec:java
Expected behavior
The sample app runs.
Actual behavior
I get a class not found exception for the Sample class.
Resolution
Running mvn clean install from within the simple-console directory solved the problem. HOWEVER, to get mvn clean install to run, I had to copy the two lint configuration XML files from the top-level Java directory down into the simple-console directory. Without copying those files, mvn clean install was failing on the lint lifecycle.
The README for the sample app should include all necessary steps to build and run the sample app, and that build process shouldn't require copying any files.
Platform (please complete the following information):
Describe the bug
The Java sample README says to run
mvn exec:java
from within thesimple-console
directory. However, for me, that was insufficient. Maven complained about not being able to find the main file - I got a class not found exception at the terminal. I couldn't run the sample.To Reproduce
Steps to reproduce the behavior:
simple-console
Java directorymvn exec:java
Expected behavior
The sample app runs.
Actual behavior
I get a class not found exception for the
Sample
class.Resolution
Running
mvn clean install
from within thesimple-console
directory solved the problem. HOWEVER, to getmvn clean install
to run, I had to copy the two lint configuration XML files from the top-levelJava
directory down into thesimple-console
directory. Without copying those files,mvn clean install
was failing on the lint lifecycle.The README for the sample app should include all necessary steps to build and run the sample app, and that build process shouldn't require copying any files.
Platform (please complete the following information):
The text was updated successfully, but these errors were encountered: