在Eclipse Oxygen中配置GWT环境后运行开发模式遇问题求助
Hey there, I’ve run into this exact issue before when working with GWT in Eclipse—let’s get you sorted out quickly!
That message is telling you that GWT’s Development Mode needs a browser bookmark to establish a connection between your browser and the GWT dev server. Here’s how to set it up step by step:
- Open the GWT Development Mode window: After launching "Debug as -> GWT development mode", check if a small "Development Mode" window popped up. If not, go to
Window > Show View > Otherin Eclipse, search for "Development Mode", and open that view. - Grab the Dev Mode bookmarks: In the Development Mode window, you’ll see a section labeled "Bookmarks" with two links:
Dev Mode OnandDev Mode Off. Drag both of these links directly into your browser’s bookmark bar. - Load your GWT app: Open your browser and navigate to your app’s URL—this is usually something like
http://localhost:8888/YourProjectName.html(you can confirm the exact URL from the Eclipse Console output when you started Dev Mode). - Activate Dev Mode: Once the app page loads, click the
Dev Mode Onbookmark in your toolbar. This will trigger the connection between your browser and the GWT dev server, and you should be all set to debug and test your component.
Quick Troubleshooting Tips
- If you don’t see the bookmark links in the Development Mode window: Double-check that your GWT plugin version matches the GWT SDK you’re using (Eclipse Oxygen works best with GWT 2.7–2.8.x). You can verify the SDK in your project’s properties under
Google > Web Toolkit. - Browser popup blockers: Make sure your browser isn’t blocking the Development Mode window—add Eclipse to your allowed sites if needed.
- Chrome permissions: If you’re using Chrome, you might need to allow JavaScript bookmarks to run. When you first click the
Dev Mode Onbookmark, Chrome may show a warning; just click "Allow" to grant permission.
内容的提问来源于stack exchange,提问作者kubuni
相关产品推荐
相关产品推荐

