Open JCatter1 opened 3 years ago
During the build process I get this error.
mvn clean package [INFO] Scanning for projects... [INFO] [INFO] ----------------< com.salesforce.conduit:emp-connector >---------------- [INFO] Building EMP Connector 0.0.1-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ emp-connector --- [INFO] Deleting /Users/JCatter2/Desktop/EMP-Connector/target [INFO] [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ emp-connector --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] skip non existing resourceDirectory /Users/JCatter2/Desktop/EMP-Connector/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ emp-connector --- [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 14 source files to /Users/JCatter2/Desktop/EMP-Connector/target/classes [INFO] [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ emp-connector --- [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent! [INFO] Copying 1 resource [INFO] [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ emp-connector --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ emp-connector --- [INFO] [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ emp-connector --- [INFO] Building jar: /Users/JCatter2/Desktop/EMP-Connector/target/emp-connector-0.0.1-SNAPSHOT.jar [INFO] [INFO] >>> maven-source-plugin:3.0.1:jar (attach-sources) > generate-sources @ emp-connector >>> [INFO] [INFO] <<< maven-source-plugin:3.0.1:jar (attach-sources) < generate-sources @ emp-connector <<< [INFO] [INFO] [INFO] --- maven-source-plugin:3.0.1:jar (attach-sources) @ emp-connector --- [INFO] Building jar: /Users/JCatter2/Desktop/EMP-Connector/target/emp-connector-0.0.1-SNAPSHOT-sources.jar [INFO] [INFO] --- maven-shade-plugin:2.1:shade (default) @ emp-connector --- [INFO] Including org.cometd.java:cometd-java-client:jar:4.0.4 in the shaded jar. [INFO] Including org.cometd.java:bayeux-api:jar:4.0.4 in the shaded jar. [INFO] Including org.cometd.java:cometd-java-common:jar:4.0.4 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-util-ajax:jar:9.4.18.v20190429 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-util:jar:9.4.18.v20190429 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-io:jar:9.4.18.v20190429 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-http:jar:9.4.18.v20190429 in the shaded jar. [INFO] Including org.eclipse.jetty:jetty-client:jar:9.4.18.v20190429 in the shaded jar. [INFO] Including org.slf4j:slf4j-api:jar:1.7.26 in the shaded jar. [INFO] Attaching shaded artifact. [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.699 s [INFO] Finished at: 2021-02-18T01:20:12-08:00 [INFO] ------------------------------------------------------------------------ JCatter2@TMC02CJ7FVMD6R EMP-Connector % java -classpath target/emp-connector-0.f0.1-SNAPSHOT-phat.jar com.salesforce.emp.connector.example.BearerTokenExample instance_url token channel Error: Could not find or load main class com.salesforce.emp.connector.example.BearerTokenExample Caused by: java.lang.ClassNotFoundException: com.salesforce.emp.connector.example.BearerTokenExample
During the build process I get this error.