I am trying to use the SafeHtmlUtils class on the server side to make sure some HTML I am sending back to the client side is placed in a SafeHtml object before it is returned. I am assuming it can be used on the server side as its package name is com.google.gwt.safehtml.shared and the class is inside of the gwt-servlet.jar When I go and call SafeHtmlUtils.fromSafeConstant() I get a NoClassDefFoundError (below).
java.lang.NoClassDefFoundError: com/google/gwt/thirdparty/ streamhtmlparser/ParseException at com.google.gwt.safehtml.shared.SafeHtmlUtils.fromSafeConstant(SafeHtmlUtils.java: 79) I found the class/package that it was looking for in the gwt-dev.jar. I am wondering if this is a bug that should be reported to Google or is the SafeHtmlUtils class not allowed to be used on the server side? Thanks. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.