Java.lang.NoClassDefFoundError: Oracle/xml/parser/v2/DOMParser (Doc ID 1574085.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle 9iAS MapViewer - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Error: java.lang.NoClassDefFoundError while starting weblogic containing E-Location components

Installed the below components for e-Location:
1. Map Viewer
2. Geocoder
3. Route Servlet.

When restarting weblogic, getting the below error:

GET /elocation/maps.jsp?ad2_name=US&ad2_street=US&ad2_lastline=&centerX=-71.45936999999999&centerY=42.707820000000005&markerX=-71.45936999999999&markerY=42.707820000000005&width=400&height=300&operation=MAP_BUTTON&uid=891071796&zoom_level=7&page=map&geocode_message=&increase_size=&decrease_size=&panning=&imgurl=null HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:22.0) Gecko/20100101 Firefox/22.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://172.10.20.6:7006/elocation/maps.jsp?uid=891071796
Cookie: oracle.uix=0^^GMT+5:30^p; ADMINCONSOLESESSION=ZGnXRWnSnQP42T1B02Qvm2G9Hp3pZD4VQnnQn6zfh9hWLxnnJTR2!-242682502; JSESSIONID=6SqlRWnDb1tLq0VJNngspgNP9LGhy10TwzGrHqF56jVdTGrFcz8j!-242682502

]] Root cause of ServletException.
java.lang.NoClassDefFoundError: oracle/xml/parser/v2/DOMParser
at oracle.spatial.elocation.webpage.ElocationGeocoder.resolveAddress(ElocationGeocoder.java:158)
at oracle.spatial.elocation.webpage.ElocationGeocoder.resolveAddress(ElocationGeocoder.java:91)

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms