Skip to content
Advertisement

Tag: eclipse

How to solve warning when using liferay-ui:search-container in JSP?

I’m developing a portlet in Liferay 6.1 using Liferay MVC famework. When I use Eclipse allways shows me the following warning message SearchContainer is a raw type. References to generic type SearhcContainer<R> should be parameterized JSP code fragment: I have searched many examples. I’ve imported them into my workspace. And they also show me the same Warning message when search-container

Maven build: Tomcat server doesn’t start

I am new to Maven and trying to setup a web project using Maven. I have setup the project in Eclipse and I am using Tomcat 7.0.53. In run configuration for Maven build and I have set tomcat:run in Goals. When I run this configuration, following log is seen in the Eclipse console: Nothing happens after this. There is no

Is there a way to make empty packages visible in Eclipse?

Is there a way in Eclipse, to see empty parent packages? I have an issue freely viewing/accessing package new.galaxywar.client.resources.images.game that only contains 2 sub-packages: I tried creating that package again, because I thought that i might not have it in my eclipse project, but it won’t let me: How do I prevent “views from filtering empty parent packages”? Answer In

VisualVM running JRE

I can’t get VisualVM working with eclipse, i was following these instructions http://visualvm.java.net/download.html and also these http://visualvm.java.net/gettingstarted.html The problem is that it cant see JDK location which is “C:Program FilesJavajdk1.8.0_05”, this happens when i try to run the application Here is the original content of visualvm.conf file http://pastebin.com/K9TnQb0G Unfortunately my command line is somehow broken too(or I’m the one who

How to share code between two projects?

I have two Java projects called A and B. Both of them are web apps deployed as war files. I created them in Eclipse workspace separately. Project B uses a class in project A named MusicMapper. I added the project A to project B’s build path in Eclipse as suggested in this post. So now project B can compile without

Maven ignores local repository

I’m trying to use jackson at a json project. And Maven is ignoring my local repository (where I have the library already set, from a previous project) and downloading from codehaus repo. The catch is that my workplace has blocked access to external repos, so I must use local repository for this. How do I force Maven to look first

AndroidRuntime error at com.example.appname.MainActivity.onCreate

I am trying to write Java code that creates a button click event that populates an edit text box with my name. Unfortunately I am getting runtime errors. I checked almost all related topics and questions on stackoverflow but couldn’t figure it out my problem. Appreciated for your helps. MainActivity.java fragment_main.xml AndroidManifest.xml Error LogCat Answer Use fragment_main.xml instead of activity_main.xml

Advertisement