Import of Word doc - caused by: java.lang.NoClassDefFoundError: com.atlassian.plugins.conversion.Asp
Asked by Marco Qau:

### Cause {#toc-hId-1656902803}

java.lang.reflect.InvocationTargetException  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

caused by: java.lang.NoClassDefFoundError: com.atlassian.plugins.conversion.AsposeAware  
at com.benryan.webwork.WordImportAction.buildDocumentTree(WordImportAction.java:591)


Answers:
author: Shannon S
body: Hello Marco,

Could you let us know your current Confluence version and tell me if you recently upgraded, and from which version?

I ask that you try the following. Preliminary troubleshooting steps:

1. We will try [clearing the plugin cache](https://confluence.atlassian.com/confkb/how-to-clear-confluence-plugins-cache-297664846.html) to see whether that makes a difference.
   1. Shutdown Confluence
   2. Back-up these directories:  

      ```
      /var/atlassian/application-data/confluence/bundled-plugins/var/atlassian/application-data/confluence/plugins-cache/var/atlassian/application-data/confluence/plugins-osgi-cache/var/atlassian/application-data/confluence/plugins-temp
      ```

   3. **Delete** the above folders entirely. They will be regenerated on startup.
   4. Start Confluence
   5. Test the document importer.
2. If it still does not work, can you please share with us the following results of these SQL queries from the Confluence database. ****Run this exact query - do not run with SELECT \*:****  

   ```
   select PLUGINDATAID, PLUGINKEY, FILENAME, LASTMODDATE from PLUGINDATA;
   ```

   ```
   select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';
   ```

3. Finally, I've seen a few users be able to resolve this issue with the following article: [Confluence new features are unavailable in Confluence after upgrade to 5.7 and above](https://confluence.atlassian.com/confkb/confluence-new-features-are-unavailable-in-confluence-after-upgrade-to-5-7-and-above-785462188.html)

Please take your time to review all steps and let us know the results.

Regards,

Shannon

comments: author: Marco Qau
body: I deleted the

```
/var/atlassian/application-data/confluence/bundled-plugins/var/atlassian/application-data/confluence/plugins-cache/var/atlassian/application-data/confluence/plugins-osgi-cache/var/atlassian/application-data/confluence/plugins-temp

```

but it still does not work!!!!

our version [Atlassian Confluence](http://www.atlassian.com/software/confluence) 6.6.0

SQL

mysql\> select PLUGINDATAID, PLUGINKEY, FILENAME, LASTMODDATE from PLUGINDATA;  
+--------------+---------------------------------------------------------------------+----------------------------------------------------------------------------------+---------------------+  
\| PLUGINDATAID \| PLUGINKEY \| FILENAME \| LASTMODDATE \|  
+--------------+---------------------------------------------------------------------+----------------------------------------------------------------------------------+---------------------+  
\| 1572866 \| com.gliffy.integration.confluence \| gliffy-confluence-plugin-8.0.5.jar \| 2018-01-25 13:40:52 \|  
\| 3440641 \| com.atlassian.upm.atlassian-universal-plugin-manager-plugin \| plugin.2085703770228682918.atlassian-universal-plugin-manager-plugin-2.22.11.jar \| 2018-05-29 11:35:22 \|  
\| 8323073 \| cz.morosystems.atlassian.plugin.easymind \| plugin.2479534300702652647.easymind-1.13.0.jar \| 2018-05-31 12:05:50 \|  
\| 8323074 \| com.atlassian.plugins.confluence.markdown.confluence-markdown-macro \| plugin.5357352339861362597.confluence-markdown-macro-1.4.0.jar \| 2018-10-29 14:25:04 \|  
\| 10649601 \| com.avono.confluence.plugins.mindmap \| plugin.2294140264085321107.avono-freemind-plugin-1.7.jar \| 2018-05-31 11:59:55 \|  
+--------------+---------------------------------------------------------------------+----------------------------------------------------------------------------------+---------------------+  
5 rows in set (0.00 sec)

<br />

mysql\> select BANDANAVALUE from BANDANA where BANDANAKEY = 'plugin.manager.state.Map';  
+--------------+  
\| BANDANAVALUE \|  
+--------------+  
\| \<map/\> \|  
+--------------+  
1 row in set (0.01 sec)

mysql\>


author: Shannon S
body: Hi Marco,

What about the results of the 3rd step? Could you let me know how that went?

I also asked what version you upgraded from, I understand your current version is 6.6.0.

Lastly, can you tell me does this occur when you try to import any Word document? Even if you create a very simple Word document?

Regards,

Shannon


author: Marco Qau
body: Hi ?

Step 3 I didn't try.Because I don't think it's right for me.

yes my current version is 6.6.0.

I try to import a very simple Word document, But still don't work.


author: Shannon S
body: Marco,

I'll need you to have a look at the 3rd step that I provided you. You don't need to make any changes unless you are able to find that error in your logs.

Could you please check your logs again for any messages similar to the ones in that article?

If you can confirm there are not, then we would need to move this issue to a support ticket. I had a look at your licensing, and it appears that you have used up your Evaluation Licenses.

At this time you will want to purchase a valid Confluence license (not create a new Evaluation license) and I will then be able to forward your issue to the support team.

Shannon


author: Shannon S
body: Marco,

It just occurred to me that you might be running your Confluence instance on one of these expired evaluation licenses. I realize that you opened this case on the 29th of January and you likely did not have an expired license then, but when an evaluation license expires, it forces your instance into read-only mode.

I cannot confirm if this is definitely the cause of your issue, but it could definitely have caused it.

As soon as you're able to acquire a paid license, please let me know, and I can raise that support ticket.

Thank you!

Regards,

Shannon


author: Anshuman Dash _K15t_
body: This post seems old, but to anyone who stumbles here - **step3** mentioned above by [@Shannon S](/t5/user/viewprofilepage/user-id/510046) seemed to fix the issue for me.


author: KC Wong
body: This post is old, and none of the steps solve it for me. Using Confluence 7.19.12 on Windows.


Tags: confluence-server

server