Home / kinkchat / Eclipse java search updating jsp index

Eclipse java search updating jsp index

After some trial and error, I realized that this is my brand new workspace and I am running with Eclipse Luna, newest version of Eclipse which I had just downloaded couple days of back.

My first hunch was that Eclipse might not able to connect to Internet, and to verify that I tried connecting Eclipse market place, and boom it was working fine.

Recently I face an strange issue while using Maven in Eclipse via M2Eclipse plugin.

I have created a Maven Java project in Eclipse and subsequently tried to add Spring framework as dependency, to my surprise, nothing was happening.

In worst case, if your problem doesn't resolve even after enabling and restarting Eclipse, try re-building Index from Maven repository view in Eclipse, as shown in images attached here.

button, this will open another dialog box with a search bar to search artifacts.

Problem is fixed now, you can see that Eclipse is now able to search dependency from Maven repository.

That's all about how do you fix this problem of Maven not able to search dependencies in Eclipse.It will show you all kind of maven repositories e.g.local repository, Global repository, project repository and Custom repository.At first you will see it's not working as shown in first screenshot.You can see I was searching for spring framework Java but there is no search result, in fact it was saying artifact id cannot be empty.You can see that Eclipse is updating indexes and it's doing it from Maven central repository, If you had configured internal nexus repository then it will download from there.This screenshot is immediately after restarting Eclipse, you can see that at bottom right corner it showing as Updating index, which is the proof that it's now downloading index file.If you double click there it will open the view which we have shown in next screenshot, there you can see that it downloads dependencies form Maven central remote repository.$ mvn archetype:generate -Dgroup Id= -Dartifact Id= -Darchetype Artifact Id=maven-archetype-webapp -Dinteractive Mode=false //for example $ mvn archetype:generate -Dgroup Id=com.mkyong -Dartifact Id=Counter Web App -Darchetype Artifact Id=maven-archetype-webapp -Dinteractive Mode=false $ pwd /Users/mkyong/Documents/workspace $ mvn archetype:generate -Dgroup Id=com.mkyong -Dartifact Id=Counter Web App -Darchetype Artifact Id=maven-archetype-webapp -Dinteractive Mode=false [INFO] Scanning for projects... [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Building Maven Stub Project (No POM) 1 [INFO] ------------------------------------------------------------------------ [INFO] [INFO] Generating project in Batch mode [INFO] ---------------------------------------------------------------------------- [INFO] Using following parameters for creating project from Old (1.x) Archetype: maven-archetype-webapp:1.0 [INFO] ---------------------------------------------------------------------------- [INFO] Parameter: group Id, Value: com.mkyong [INFO] Parameter: package Name, Value: com.mkyong [INFO] Parameter: package, Value: com.mkyong [INFO] Parameter: artifact Id, Value: Counter Web App [INFO] Parameter: basedir, Value: /Users/mkyong/Documents/workspace [INFO] Parameter: version, Value: 1.0-SNAPSHOT [INFO] project created from Old (1.x) Archetype in dir: /Users/mkyong/Documents/workspace/Counter Web App [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.147s [INFO] Finished at: Thu Dec 20 MYT 2012 [INFO] Final Memory: 12M/128M [INFO] ------------------------------------------------------------------------ .

853 comments

  1. Welcome. Welcome to the BigBlueButton project’s Frequently Asked Questions FAQ. We the core developers created this FAQ to quickly answer common questions around installation, configuration, and using BigBlueButton.

  2. Search Cancel. All Places. I installed JBoss IDE 1.6 in Eclipse 3.2 and am using Java 1.4. An internal error occurred during "Updating JSP Index" If anybody.

  3. Using Eclipse as a Web development platform is. Select Search for New. Contents of %@ page language="java.

  4. Mongodb查询问题; 等 为什么在eclipse中的jsp页面无法识别header和canvas标签呢? 等 springboot学习有哪些好的免费视频或者书籍?

  5. Note For convenience, declares maven-eclipse-plugin and configure wtpversion to avoid typing the parameter -Dwtpversion=2.0. Now, each time you use mvn eclipse.

Leave a Reply

Your email address will not be published. Required fields are marked *

*