Microsoft.Recognizers.Text provides recognition and resolution of numbers, units, date/time, etc. in multiple languages (ZH, EN, FR, ES, PT, DE, IT, TR, HI, NL. Partial support for JA, KO, AR, SV). Packages available at: https://www.nuget.org/profiles/Recognizers.Text, https://www.npmjs.com/~recognizers.text
MIT License
1.68k
stars
430
forks
source link
[Java] - README instructions are insufficient to run the sample code #3141
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):
Platform: Java
Environment: console app
Version of package: GitHub version: 8d2eeda04e4eeef00bb00b1ae886289c84a6b67f
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):