Uploaded image for project: 'EAP Documentation'
  1. EAP Documentation
  2. EAPDOC-2219

Error: Could not find or load main class org.jboss.migration.cli.CommandLineServerMigration

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • User Feedback
    • False
    • None
    • False

      Migration Guide Red Hat JBoss Enterprise Application Platform 8.0 Red Hat Customer Portal
      3.2.1. Migrating to JBoss EAP 8.0
      Navigate to the MIGRATION_TOOL_HOME/bin directory <--?  there is no bin directory in jboss-eap-8.0.0-server-migration.zip
      openjdk version "11.0.22" 2024-01-16
      OpenJDK Runtime Environment Temurin-11.0.22+7 (build 11.0.22+7)
      OpenJDK 64-Bit Server VM Temurin-11.0.22+7 (build 11.0.22+7, mixed mode)

      OK the scrip boss-server-migration is in main directory 
      $ls
      configuration/  jboss-server-migration.bat  jboss-server-migration.ps1  jboss-server-migration.sh*  lib/

      I execute and receive a message, please help what should I do, thank you 
      $ ./jboss-server-migration.sh --source $EAP_PREVIOUS_HOME --target $EAP_NEW_HOME
      Error: Could not find or load main class org.jboss.migration.cli.CommandLineServerMigration
      Caused by: java.lang.ClassNotFoundException: org.jboss.migration.cli.CommandLineServerMigration

              sraghupu Sangeeta Raghu-Punnadi
              andrzej.gacek@asseco.pl Andrzej Gacek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: