Why do you use other maven plugins? Then it's problem with dependencies
again. Just use the assembly plugin and that's all:
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<executions>
<execution>
<id>make-executable-jar-with-dependencies</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>default_package.MainApp</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
2018-08-13 10:39 GMT+03:00 monstereo <[email protected]>:
> No it does not work.
> I am using intellji, I run the tools > xml action > validate,
> for pom.xml and config.xml, and intellji said 'No errors found'
> but same error exists.
>
> (note that: i have also tried to change the configuration xml with default
> configuration(and add just propery=gridLogger, but same error was given)
>
>
> ezhuravlev wrote
> > Well, you just broke xml, so it can't even be parsed. I sure you can fix
> > it
> > by using any XML validator - all IDEs have this built-in.
> >
> >
> >
> > 2018-08-13 10:06 GMT+03:00 monstereo <
>
> > mehmetozanguven@
>
> > >:
> >
> >> I have tried with your suggestion, but this time there is an error like
> >> this:(when I remove Property 'includeEventTypes from xml configuration,
> >> it
> >> works FINE!!)
> >> Here is the pom.xml
> >> <http://apache-ignite-users.70518.x6.nabble.com/
> file/t1901/pom.xml>
> >>
> >>
> >> Caused by:
> >> org.springframework.beans.factory.parsing.
> BeanDefinitionParsingException:
> >> Configuration problem: Unexpected failure during bean definition parsing
> >> Offending resource: URL [jar:file...../config.xml]
> >> Bean 'ignite.cfg'; nested exception is
> >> org.springframework.beans.factory.parsing.
> BeanDefinitionParsingException:
> >> Configuration problem: Unable to locate Spring NamespaceHandler for XML
> >> schema namespace [http://www.springframework.org/schema/util]
> >> Offending resource: URL [jar:file:...../config.xml]
> >> Bean 'ignite.cfg'
> >> -> Property 'includeEventTypes'
> >> at
> >> org.springframework.beans.factory.parsing.
> FailFastProblemReporter.error(
> >> FailFastProblemReporter.java:70)
> >> at
> >> org.springframework.beans.factory.parsing.ReaderContext.
> >> error(ReaderContext.java:85)
> >> at
> >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.
> error(
> >> BeanDefinitionParserDelegate.java:308)
> >> at
> >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.
> >> parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:562)
> >> at
> >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.
> >> parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:460)
> >> at
> >> org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.
> >> parseBeanDefinitionElement(BeanDefinitionParserDelegate.java:429)
> >> at
> >> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentR
> >> eader.processBeanDefinition(DefaultBeanDefinitionDocumentR
> eader.java:299)
> >> at
> >> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentR
> >> eader.parseDefaultElement(DefaultBeanDefinitionDocumentReader.java:190)
> >> at
> >> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentR
> >> eader.parseBeanDefinitions(DefaultBeanDefinitionDocumentR
> eader.java:169)
> >> at
> >> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentR
> eader.
> >> doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:142)
> >> at
> >> org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentR
> >> eader.registerBeanDefinitions(DefaultBeanDefinitionDocumentR
> eader.java:94)
> >> at
> >> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> >> registerBeanDefinitions(XmlBeanDefinitionReader.java:508)
> >> at
> >> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> >> doLoadBeanDefinitions(XmlBeanDefinitionReader.java:392)
> >> at
> >> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> >> loadBeanDefinitions(XmlBeanDefinitionReader.java:336)
> >> at
> >> org.springframework.beans.factory.xml.XmlBeanDefinitionReader.
> >> loadBeanDefinitions(XmlBeanDefinitionReader.java:304)
> >> at
> >> org.apache.ignite.internal.util.spring.IgniteSpringHelperImpl.
> >> applicationContext(IgniteSpringHelperImpl.java:379)
> >> ... 10 more
> >>
> >>
> >>
> >>
> >> --
> >> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
> >>
>
>
>
>
>
> --
> Sent from: http://apache-ignite-users.70518.x6.nabble.com/
>