You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/01/23 09:35:02 UTC

[GitHub] [pulsar] Markfesenk0 opened a new issue #13906: NoClassDefFoundError when trying to run 'mvn package' on source code

Markfesenk0 opened a new issue #13906:
URL: https://github.com/apache/pulsar/issues/13906


   **Describe the bug**
   
   ```
   [ERROR] Tests run: 39, Failures: 1, Errors: 0, Skipped: 28, Time elapsed: 1.079 s <<< FAILURE! - in TestSuite
   [ERROR] testThreadLocalStateCleanupInCurrentAndOtherThread(org.apache.pulsar.tests.FastThreadLocalStateCleanerTest)  Time elapsed: 0 s  <<< FAILURE!
   java.lang.NoClassDefFoundError: Could not initialize class org.apache.pulsar.tests.ThreadLocalStateCleaner
           at org.apache.pulsar.tests.FastThreadLocalStateCleanerTest.testThreadLocalStateCleanupInCurrentAndOtherThread(FastThreadLocalStateCleanerTest.java:88)
   
   [INFO]
   [INFO] Results:
   [INFO]
   [ERROR] Failures:
   [ERROR] org.apache.pulsar.tests.FastThreadLocalStateCleanerTest.testThreadLocalStateCleanupInCurrentAndOtherThread(org.apache.pulsar.tests.FastThreadLocalStateCleanerTest)
   [INFO]   Run 1: PASS
   [ERROR]   Run 2: FastThreadLocalStateCleanerTest.testThreadLocalStateCleanupInCurrentAndOtherThread:88 ยป NoClassDefFound
   [INFO]
   [INFO]
   [ERROR] Tests run: 33, Failures: 1, Errors: 0, Skipped: 22
   ```
   
   **To Reproduce**
   Try to build jar from source code using 'mvn package'. Fails during tests stage. Source code of pulsar 2.8.2
   
   **Desktop (please complete the following information):**
    - OS: Windows 
   
   **Additional context**
   I'm new to Maven so perhaps I'm missing something
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] mattisonchao commented on issue #13906: NoClassDefFoundError when trying to run 'mvn package' on source code

Posted by GitBox <gi...@apache.org>.
mattisonchao commented on issue #13906:
URL: https://github.com/apache/pulsar/issues/13906#issuecomment-1019585803


   ## Build Pulsar
   
   Requirements:
    * Java [JDK 11](https://adoptopenjdk.net/?variant=openjdk11) or [JDK 8](https://adoptopenjdk.net/?variant=openjdk8)
    * Maven 3.6.1+
    * zip
   
   Compile and install:
   
   ```bash
   $ mvn install -DskipTests
   ```
   
   Compile and install individual module
   ```bash
   $ mvn -pl module-name (e.g: pulsar-broker) install -DskipTests
   ``` 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] github-actions[bot] commented on issue #13906: NoClassDefFoundError when trying to run 'mvn package' on source code

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #13906:
URL: https://github.com/apache/pulsar/issues/13906#issuecomment-1049415379


   The issue had no activity for 30 days, mark with Stale label.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org