click here to view error image
org.eclipse.tm4e.core.TMException: No grammar provided for <lngpck.source.js.regexp>
at
I have created a springboot project in java I am facing the above attached error in pom.xml file. Please respond your suggestions.I could not sort it out.
org.eclipse.tm4e.core.TMException: No grammar provided for <lngpck.source.js.regexp>
Related
I've got gradle multi project. One project(A) imports another project(B) functionality in code with custom annotation.
All works good, except for springboot test for loading context in project A. I've got error "Could not open ServletContext resource", it happens because test is not able to find yml file from project B.
Could you please help me with it?
I am trying to work on a spring-security project in which i have added the spring security dependency via pom.xml file.But as my maven completed its build successfully,its not getting added in the external library.
Please find my the screenshots below:
pom.xml file:
External Library
Dependencies added after successful maven build :
Tried to create a new project to check whether the above issues persist there as well,but there its working as expected as i am able to get the required java files.So the issue is only relevant to the above project.
I even tried to do the steps mentioned from the below links apart from the maven life cycle steps,but that also did not work out
link
I try to create srping application from idea with 3 modules:
Structure of project is
aggregator
|_core
|_parent
In every module there are pom.xml
I added spring dependencies in project, why idea shows red lines with can't found error message?
Solved by adding dependecy by hand in child module.
I have converted existing web project into Maven, technologies used are : Struts 2, Hibernate. A listener extends javax.servlet.ServletContextListener, which has a entry in web.xml as follows:
<listener>
<listener-class>com.tcs.weserv.util.Listener</listener-class>
</listener>
Maven project build successfully, but when I try to start server, it throw an exception:
java.lang.ClassNotFoundException: package.util.Listener
All dependencies are defined properly in pom.xml, listener is available at given location, still it throws ClassNotFoundException.
Thanks all for your valuable comments. It helped to debug the problem. The actual problem is, Maven Project structure was wrong. When I created a Maven project by selecting archtype as webapp, the project structure contains only src/main/resources.
Since I am new to Maven, I thought this is actual project structure, and I copied all resources as well as java files into this folder. As a result, It was able to build the project without any error, but while deploying it on server, It is showing ClassNotFoundException.
This is uknown listener. Cannot find any jar containing that listener. If you know how to create jar using some zip utility or jar executable then you can copy the class com.tcs.weserv.util.Listener.class to the jar file preserving the folder structure which is important to find the corresponding class.
I have the following problem:
I am working on a Web-Project using Struts2 with Tiles supported by a combination of Hibernate and Spring. In addition I am using Maven (which I'm new to) and the jetty server container. So my coworker told me what to do: just check out the project from the svn-repository and run the command (sudo) mvn jetty:run. According to my coworker this should work just fine, as it does when he checks out the project. But I always get the same error:
2011-08-22 10:09:20,568 ERROR org.apache.struts2.dispatcher.Dispatcher.error:38 -
Dispatcher initialization failed
Unable to load configuration. - [unknown location]
I already tried to re-check out the project, cleaned and updated maven, but still, the same error.
I think it has something to do with a missing struts2 .jar-file, but I thought maven downloads all necessary libraries automatically. Please give me a hint what could be missing, I'm sure it's something simple I overlooked.
Thanks in advance.