Hi Marius, hi XWiki Developers,
Thank you for your reply and add instructions to
http://dev.xwiki.org/xwiki/bin/view/Community/Debugging#HDebuggingtheWYSIWY…
Really
appreciated!
After I executed the start_xwiki.sh and start_wysiwyg_noserver_debug.sh, it
gives me new errors. It says:
"[WARN] Unable to process
'file:/home/freeleons/XWiki_Enterprise_2.1.1/war/WEB-INF/web.xml' for
servlet validation
javax.servlet.UnavailableException: Configuration problem
at
org.mortbay.jetty.webapp.WebXmlConfiguration.initialize(WebXmlConfiguration.java:298)
at
org.mortbay.jetty.webapp.WebXmlConfiguration.configure(WebXmlConfiguration.java:222)
at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:68)
at com.google.gwt.dev.ServletValidator.create(ServletValidator.java:51)
at com.google.gwt.dev.HostedMode.doStartup(HostedMode.java:344)
at com.google.gwt.dev.HostedModeBase.startUp(HostedModeBase.java:585)
at com.google.gwt.dev.HostedModeBase.run(HostedModeBase.java:397)
at com.google.gwt.dev.HostedMode.main(HostedMode.java:232)"
also it gives me a hint:
"[ERROR] Hint: Check that the type name
'com.xpn.xwiki.wysiwyg.client.Wysiwyg' is really what you meant" Here is the
visual:
http://picasaweb.google.com/lh/photo/arGtksR3nPM9-b-GbNOmsg?feat=directlink
When I made the change to the script (start_wysiwyg_noserver_debug.sh),
from:
"com.google.gwt.dev.HostedMode \
-logLevel WARN \
-style DETAILED \
-noserver \
-port 8080 \
-startupUrl xwiki/$WYSIWYG_PATH/Wysiwyg.html \
com.xpn.xwiki.wysiwyg.Wysiwyg"
to
"com.google.gwt.dev.HostedMode \
-logLevel WARN \
-style DETAILED \
-noserver \
-port 8080 \
-startupUrl xwiki/$WYSIWYG_PATH/Wysiwyg.html \
com.xpn.xwiki.wysiwyg.client.Wysiwyg"
It will give me the error:
"[ERROR] Unable to find 'com/xpn/xwiki/wysiwyg/client/Wysiwyg.gwt.xml' on
your classpath; could be a typo, or maybe you forgot to include a classpath
entry for source?"
Here is the screenshot of hierarchy of the XWiki Enterprise folder,
http://picasaweb.google.com/lh/photo/arGtksR3nPM9-b-GbNOmsg?feat=directlink
Could you please give me some suggestions? Thank you!
Sincerely,
Jue Wang