Executing Spring App from Jar: Unable to locate Spring NamespaceHandler



The project is working when I run it from IntellijIdea, but when I try to run the jar file with dependencies from the command line I get the following error:


Exception in thread "main" Configuration Problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://ift.tt/OGfeU2]


This is my spring-context file header:



<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://ift.tt/GArMu6"
xmlns:xsi="http://ift.tt/ra1lAU"
xmlns:context="http://ift.tt/GArMu7"
xmlns:tx="http://ift.tt/OGfeU2"
xmlns:jpa="http://ift.tt/1iMF6wA"
xsi:schemaLocation="http://ift.tt/GArMu6
http://ift.tt/18sW2ax
http://ift.tt/OGfeU2
http://ift.tt/18tm2Tg
http://ift.tt/GArMu7
http://ift.tt/1jdLYo7
http://ift.tt/1iMF6wA
http://ift.tt/1jZdjKs">


There is something wrong with the tx schema?


No comments:

Post a Comment