I tries to install a wizard for web references in eclipse, i found these plugins: org.apache.axis.wsdl2java.eclipse_1.1.0. and org.apache.axis_1.1 and when I am trying to add a web reference i get an error message:
The selected wizard could not be started.
Plug-in "org.apache.axis.wsdl2java.eclipse" was unable to instantiate class "org.apache.axis.wsdl2java.eclipse.wizards.WebReferenceImportWizard".
org/eclipse/core/internal/utils/Assert

guys i am really stuck any help about adding a web reference will be much appreciated

Dani AI

Generated

Short summary and practical fixes for the error reported by (also seen later by and ):

The wizard failure that ends with org/eclipse/core/internal/utils/Assert usually means the Axis Eclipse plugin was built against an older Eclipse internal API. The plugin’s WebReferenceImportWizard references the internal class org.eclipse.core.internal.utils.Assert, which isn’t available (or is relocated) in many newer Eclipse releases, so the wizard fails to instantiate.

What to check:

  • The Eclipse Error Log (Window → Show View → Error Log) for the full stack trace and exact ClassNotFound/NoClassDefFoundError.
  • The Axis plugin JAR in the Eclipse plugins folder and its MANIFEST.MF to see target Eclipse version and required bundles.
  • For duplicate or conflicting plugin versions (remove older copies from dropins/plugins).

Working solutions (ordered by safety):

  1. Use a plugin built for the installed Eclipse release (or switch to the Axis2 or Apache CXF Eclipse plugins). Axis 1.x Eclipse integrations are old and often incompatible with modern Eclipse builds.

  2. Bypass the plugin: generate client code externally (JAX-WS wsimport or Axis2/CXF command-line generators) and import the generated sources into the project. Example:

    wsimport -keep -s src -p com.example.client http://example.com/service?wsdl
  3. (Hacky, last resort) Add a small delegate class that recreates the old package and forwards to the public runtime Assert. Example wrapper to be added into the plugin JAR:

    package org.eclipse.core.internal.utils;
    
    public final class Assert {
        public static void isTrue(boolean cond) { org.eclipse.core.runtime.Assert.isTrue(cond); }
        public static void isNotNull(Object o) { org.eclipse.core.runtime.Assert.isNotNull(o); }
    }

Repack the JAR and restart Eclipse if using the hack — this is brittle and not recommended for production. Prefer installing a compatible plugin or switching to Axis2/CXF or Eclipse WTP’s Web Service Client for a more stable, long-term solution.

Really?? noone could tell me to check soap and rest services??

Hi! I get the same error message.
I couldn't get what is to be checked in 'check soap and rest services'. Can you please help me?

and that's really the reason you revive an old thread?

what was the solution for this?

amitabhyankar: if the answer is not in the previous replies, start a new thread and explain your problem. don't revive a dead thread.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.