It is easy to fix this error just follow the following
Edit modules/sun/jdk/main/module.xml file and added the following to paths
<path name=”com/sun/rowset”/>
<path name=”com/sun/rowset/internal”/>
<path name=”com/sun/rowset/providers”/>
If still didn’t work, download
rowset jar file from Oracle sun website and extract to modules\com\sun\rowset
NoClassDefFoundError: com/sun/rowset/CachedRowSetImpl on Jboss-7
Thank you very much!!! hahahahah
Thank you very much also!!! ( problem on jboss 8.1)