netbeans-7

many url-pattern for the same servlet

谁说胖子不能爱 提交于 2019-11-27 02:03:03
问题 I need to map the same servlet on two different url. I used netbeans 7.0.1 for managing my whole project, so I used its friendly interface to modify the web.xml file. What netbeans created is this: <servlet-mapping> <servlet-name>fred</servlet-name> <url-pattern>*.jsp</url-pattern> <url-pattern>/url</url-pattern> </servlet-mapping> This is read by tomcat 5.5 without emitting any error, but only the second pattern works, while the first one is ignored. Googling I found that the right way for

Ruby Dropped in Netbeans 7,How to Use it in Netbeans7?

杀马特。学长 韩版系。学妹 提交于 2019-11-27 00:28:45
问题 In Netbeans 7, Ruby support was dropped: Although our Ruby support has historically been well received, based on existing low usage trends we are unable to justify the continued allocation of resources to support the feature. How can I use it in Netbeans 7? 回答1: I followed the steps described in this blog post - http://blog.enebo.com/2011/02/installing-ruby-support-in-netbeans-70.html and it works. Enjoy Click Tools -> Plugins Click on 'Settings' tab Click on 'Add' button to get Update Center

Netbeans 7.2 shows “Unable to resolve identifier” , although build is successful

亡梦爱人 提交于 2019-11-26 23:59:12
I'm using the Netbeans IDE 7.2 with C/C++ plugin (last version 1.18.1.1) and if I build my project everything is fine but the IDE show me errors (e.g. unable to resolve identifier ...) Anyone else have this bug and how can I solve it? Here's an excerpt from my answer to another question. Unresolved Identifier If the source of the .cpp file looks like this Click with the right mouse button on your project. Check C/C++ Code As... Run Reparse Project. If that is not enough. Go to Project Properties Fill in the Include input field as described. Set the include path correct. I hope that can help

Netbeans - Error: Could not find or load main class

最后都变了- 提交于 2019-11-26 23:13:50
So I'm making a java application in Neatbeans 7.4, been working at it for a while, everything was fine, running the project worked fine, but now when I hit run project, I get the error Error: Could not find or load main class phleveledit.MainWindow Java Result: 1 BUILD SUCCESSFUL (total time: 0 seconds) I can't think of what I did right before this started happening, so I don't know what I should change.. The code doesn't appear to have any errors. Here's a screenshot of the IDE+project folder Image ( http://puu.sh/5ldYB ) : Any ideas? Edit: Unfortunately I happened to fix this problem by

Struts2 & NetBeans 7

北城余情 提交于 2019-11-26 21:40:44
问题 I cannot find anywhere ngbit support for NetBeans 7. I have to install Struts2 for my Web Applications development. For NetBeans 6.9 my older version of ngbit 0.4 works fine, but for NetBeans 7 doesn't work. I need NetBeans 7 because of HTML5. When I try to install org-netbeans-modules-web-frameworks-struts2.nbm , NetBeans gives the following error: Some plugins require plugin Editor Library to be installed. The plugin Editor Library is requested in version >= 2.10.1.10.2 (release version 2)

Dynamic vs XML layout in Android?

社会主义新天地 提交于 2019-11-26 21:13:28
问题 I'm new to Android development and have started creating my own UI. I see that you can either create it dynamically something like this (Dynamic Layouts): @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ScrollView sv = new ScrollView(this); LinearLayout ll = new LinearLayout(this); ll.setOrientation(LinearLayout.VERTICAL); sv.addView(ll); TextView tv = new TextView(this); tv.setText("Name"); ll.addView(tv); EditText et = new EditText(this); ll

Where can I download the JavaFX 2.2 source code? [closed]

强颜欢笑 提交于 2019-11-26 20:43:09
I need to link in Netbeans 7.2.1 to the source of JavaFX 2.2.3 , I've looked on the Oracle web site ... but I didn't find it ! any help is a welcome plz jewelsea JavaFX 2.2 is only partially open source. You can download the parts which are open from the zip link at: http://hg.openjdk.java.net/openjfx/2.2/master/rt JavaFX 8 JavaFX 8 is completely open source today. Source for building JavaFX 8 (and the SceneBuilder design tool) is available at: http://hg.openjdk.java.net/openjfx/8/master/rt Source code for later versions (including Java 8 updates), is in the source code forest, an overview of

Including Native Library in Netbeans

守給你的承諾、 提交于 2019-11-26 17:43:12
问题 I am trying to read portable devices from java signed applet.... I found a jmtp library on http://code.google.com/p/jmtp/w/list to get access to portable devices but when i run it in netbeans it gives error Exception in thread "main" java.lang.UnsatisfiedLinkError: no jmtp in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:845) at java.lang.System.loadLibrary(System.java:1084) at jmtp.PortableDeviceManagerImplWin32.

NetBeans 7.2 MinGW installing for OpenCV

浪子不回头ぞ 提交于 2019-11-26 17:12:04
问题 i have installed minGW on my PC according to http://netbeans.org/community/releases/72/cpp-setup-instructions.html, and i have "restored defaults" using NetBeans 7.2 who has found all necessary files. But when I made test sample C++ app i got following error: c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -ladvapi32 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../../mingw32/bin/ld.exe: cannot find -lshell32 c:/mingw/bin/../lib/gcc/mingw32/4.6.2/../../../..

build-impl.xml:1031: The module has not been deployed

吃可爱长大的小学妹 提交于 2019-11-26 16:46:21
问题 I have been working on a Java web application and i am using SmartGwt on Netbeans 7.3 and out of a sudden I encountered this problem. I tried cleaning the build-impl.xml then restarting the IDE and I should say I have fairly low knowledge on this. Can someone please tell me why it is giving an error and how I can fix that? The error message says : nbproject/build-impl.xml:1031: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 4 seconds) Note: i am