简体   繁体   English

Netbeans 7.3上的HTML5无法与Chrome集成NetBeans Connector

[英]HTML5 on netbeans 7.3 can not integrate with chrome Netbeans Connector

I just created an empty HTML5 project and could not run it through the new Chrome netbeans Connector feature. 我刚刚创建了一个空的HTML5项目,无法通过新的Chrome netbeans Connector功能运行它。 I have added the netbeans connector extension to my chrome browser, but I keep getting this warning "Could not access Url through external browser. Check browser configuration." 我已将netbeans连接器扩展名添加到chrome浏览器中,但始终收到此警告“无法通过外部浏览器访问Url。请检查浏览器配置”。 I have the latest netbeans version 7.3 and jdk 7u17. 我有最新的netbeans版本7.3和jdk 7u17。 Chrome browser Version 25.0.1364.172 m. Chrome浏览器版本25.0.1364.172 m。

Anyone with some suggestions? 有人有建议吗?

I got the same error using OpenSUSE 12.3 x86_64. 使用OpenSUSE 12.3 x86_64时出现相同的错误。

My solution was this: go to Netbeans Menu > Tools > Options . 我的解决方案是:转到Netbeans Menu > Tools > Options In the General tab press Edit and then edit the command for Chrome browser to: 在[ General标签中,按[ Edit ,然后将Chrome浏览器的命令编辑为:

/opt/google/chrome/google-chrome

Hope it works for you. 希望对你有效。

I'm having the same issues with Netbeans 7.3.1 and Chromium 29.0; 我在Netbeans 7.3.1和Chromium 29.0中遇到了相同的问题; editing the "Chrome" browser executable in the "Tools>Options>General" section to point to the "chromium" exec location didn't seem to make a difference at first. 首先,在“工具>选项>常规”部分中编辑“ Chrome”浏览器可执行文件以指向“铬”可执行文件位置似乎没有什么不同。


Open the project properties , you can further edit the application with which the file will open/execute. 打开项目属性 ,您可以进一步编辑将用来打开/执行文件的应用程序。 The default browser is "Chrome with NetBeans integration". 默认浏览器是“ Chrome与NetBeans集成”。 So far, changing that " Browser " field in the project properties to point to the edited Chrome exec runs the file in the Chromium browser. 到目前为止,更改项目属性中的“ 浏览器 ”字段以指向已编辑的Chrome执行程序即可在Chromium浏览器中运行该文件。 However, I'm not sure how well--if at all--it integrates with NetBeans itself. 但是,我不确定它与NetBeans本身集成得如何(如果有的话)。

Try running it in the embedded browser. 尝试在嵌入式浏览器中运行它。 Does it work? 它行得通吗?

In this case it's probably best to file a bug report at http://netbeans.org/community/issues.html . 在这种情况下,最好在http://netbeans.org/community/issues.html上提交错误报告。 Where/when does the warning appear? 警告在哪里/何时出现? If you file a bug, please attach the IDE log and a screenshot of the error. 如果您提交了错误,请附上IDE日志和错误的屏幕截图。 Thanks. 谢谢。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM