Axis error about runtime location

后端 未结 6 1341
栀梦
栀梦 2021-01-02 07:38

The error is:

Exception occurred while reading or writing file {0}The Axis2 facets cannot be installed since the Axis2 runtime location has not been set. Go

相关标签:
6条回答
  • 2021-01-02 08:15

    Sorry, but I didn't find the explanations on the web very clear. For less nerdy developers like myself I would like to add that Axis2 cannot be installed via the Eclipse update manager: you need to indeed download and install Axis2 yourself. There are additional plugins available though that can be installed with the update manager: Axis2 Tools & SDK. BTW, I found a directory org.apache.axis_1.4.0.v200905122109 in my plugins folder but that is old stuff. HTH Kind regards, Dobedani

    0 讨论(0)
  • 2021-01-02 08:18

    Dobedani,

    First download this file Apache Axis 2 Runtime Binary extract the file contents, goto window -> preferences -> web services -> Axis 2 preferences and look for the extracted folder, make sure you select the folder that contains the bin folder.

    Ohh, i forgot to mention you have to add the Axis 2 facetes to your project to complete the fix, goto project properties -> project factes -> Modify project and add the Axis 2 Facets which were installed on the prior step.

    That's it.

    0 讨论(0)
  • 2021-01-02 08:21

    just created a new dynamic web project and created a class then created a new web service from it, then imorted the old web service which worked this time

    0 讨论(0)
  • 2021-01-02 08:23

    I had a similar problem and followed the instructions here, but still had problem, I finally checked Window->Preference->WebService->Server and Runtime and changed to read Axis 2 and change Web service runtime to Apache Axis2

    0 讨论(0)
  • 2021-01-02 08:29

    Re-check your axis version used with Eclipse (to be sure), as illustrated by this thread.

    And try the procedure described here, and illustrated by this tutorial.

    Choose the Axis2 war file's folder location in the Eclipse dialog at:

    Window -> Preferences -> Web Services -> Axis2 Emitter 
    

    Or if it still does not work:

    Actually we found out that if you simply create a dummy web service with Axis2, the problem will also go away

    Or:

    It happens when your org.apache.axi2.facet plugin directory is corrupted (missing exploadedwar?).
    The best way to fix this is copy over a good copy of that from another workspace (create a new one) over your existing workspace. You can find the directory at /.metadata/.plugins/org.apache.axis2.facet.

    Axis2 Preferences

    0 讨论(0)
  • 2021-01-02 08:41

    The way it worked for me is slightly different. After I copied the exploadedwar folder I deleted all axis related jar files from \lib and copied them from original axis2-1.6.1\lib. It worked..

    0 讨论(0)
提交回复
热议问题