Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for NoClassDefFoundError (0.35 sec)

  1. maven-core/src/test/java/org/apache/maven/exception/DefaultExceptionHandlerTest.java

            assertEquals(expectedReference, exceptionSummary.getReference());
        }
    
        @Test
        void testHandleExceptionAetherClassNotFound() {
            Throwable cause2 = new NoClassDefFoundError("org/sonatype/aether/RepositorySystem");
            Plugin plugin = new Plugin();
            Exception cause = new PluginContainerException(plugin, null, null, cause2);
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/ParameterTest.java

          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/ParameterTest.java

          /*
           * Parameter declares a method that returns AnnotatedType, which isn't available on Android.
           * This would cause NullPointerTester, which calls Class.getDeclaredMethods, to throw
           * NoClassDefFoundError.
           */
          return;
        }
        for (Method method : ParameterTest.class.getDeclaredMethods()) {
          for (Parameter param : Invokable.from(method).getParameters()) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Apr 06 02:06:03 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

            when {
              // Bump this version if we ever have a binary incompatibility
              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): ConscryptPlatform? = if (isSupported) ConscryptPlatform() else null
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

      }
    
      private static boolean unsafeComparatorAvailable() {
        // See Java Puzzler #44
        // Use reflection instead of catching NoClassDefFoundError
        try {
          Class.forName(unsafeComparatorClassName());
          return true;
        } catch (Error | ClassNotFoundException tolerable) {
          /*
           * We're probably running on Android.
           *
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/DefaultBuildPluginManager.java

                        new MojoExecutionEvent(session, project, mojoExecution, mojo, e));
                throw new PluginExecutionException(mojoExecution, project, e);
            } catch (NoClassDefFoundError e) {
                mojoExecutionListener.afterExecutionFailure(
                        new MojoExecutionEvent(session, project, mojoExecution, mojo, e));
                ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                while (cause != null && !(cause instanceof LinkageError) && !(cause instanceof ClassNotFoundException)) {
                    cause = cause.getCause();
                }
    
                if ((cause instanceof NoClassDefFoundError) || (cause instanceof ClassNotFoundException)) {
                    ByteArrayOutputStream os = new ByteArrayOutputStream(1024);
                    PrintStream ps = new PrintStream(os);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                    if (cause instanceof PluginContainerException) {
                        Throwable cause2 = cause.getCause();
    
                        if (cause2 instanceof NoClassDefFoundError) {
                            String message = cause2.getMessage();
                            if (message != null && message.contains("org/sonatype/aether/")) {
                                reference = "AetherClassNotFound";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  10. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

            This happens after removing the reporting API from the core:
    
            java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReportException
    
            MavenSession session = createMavenSession( getProject( "project-with-inheritance" ) );
            String goal = "process";
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top