james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Merve Temizer <mervet2...@gmail.com>
Subject Re: Building source
Date Tue, 31 Jul 2012 11:54:51 GMT
How should i use it,

In root directory contains root pom.xml

i ran:

./remove-m2eclipse-exclusions.sh

got no error, no output.

Try to run Main.java (in container-spring) same error

mvn clean compile install

Try to run Main.java same error.

Thanks in advance.

2012/7/31 Eric Charles <eric@apache.org>

> remove-m2eclipse-exclusions.sh ?
>
> https://github.com/aos-io/aos-**sdk/blob/master/sh/remove-**
> m2eclipse-exclusions.sh<https://github.com/aos-io/aos-sdk/blob/master/sh/remove-m2eclipse-exclusions.sh>
>
> Thx, Eric
>
>
> On 07/31/2012 12:17 PM, Merve Temizer wrote:
>
>> I am using eclipse checked out everything, did all the configuration in
>> here http://james.apache.org/**server/3/dev-build.html<http://james.apache.org/server/3/dev-build.html>
>>
>> I used to have running server until yesterday but again i could not make
>> it
>> run
>>
>> The error is
>>
>> Exception in thread "main"
>> org.springframework.beans.**factory.**BeanDefinitionStoreException:
>> IOException
>> parsing XML document from class path resource
>> [context/james-server-context.**xml]; nested exception is
>> java.io.FileNotFoundException: class path resource
>> [context/james-server-context.**xml] cannot be opened because it does not
>> exist
>> at
>> org.springframework.beans.**factory.xml.**XmlBeanDefinitionReader.**
>> loadBeanDefinitions(**XmlBeanDefinitionReader.java:**341)
>> at
>> org.springframework.beans.**factory.xml.**XmlBeanDefinitionReader.**
>> loadBeanDefinitions(**XmlBeanDefinitionReader.java:**302)
>> at
>> org.springframework.beans.**factory.support.**
>> AbstractBeanDefinitionReader.**loadBeanDefinitions(**
>> AbstractBeanDefinitionReader.**java:143)
>> at
>> org.springframework.beans.**factory.support.**
>> AbstractBeanDefinitionReader.**loadBeanDefinitions(**
>> AbstractBeanDefinitionReader.**java:178)
>> at
>> org.springframework.beans.**factory.support.**
>> AbstractBeanDefinitionReader.**loadBeanDefinitions(**
>> AbstractBeanDefinitionReader.**java:149)
>> at
>> org.springframework.beans.**factory.support.**
>> AbstractBeanDefinitionReader.**loadBeanDefinitions(**
>> AbstractBeanDefinitionReader.**java:212)
>> at
>> org.springframework.context.**support.**AbstractXmlApplicationContext.**
>> loadBeanDefinitions(**AbstractXmlApplicationContext.**java:126)
>> at
>> org.springframework.context.**support.**AbstractXmlApplicationContext.**
>> loadBeanDefinitions(**AbstractXmlApplicationContext.**java:92)
>> at
>> org.springframework.context.**support.**AbstractRefreshableApplication**
>> Context.refreshBeanFactory(**AbstractRefreshableApplication**
>> Context.java:130)
>> at
>> org.springframework.context.**support.**AbstractApplicationContext.**
>> obtainFreshBeanFactory(**AbstractApplicationContext.**java:467)
>> at
>> org.springframework.context.**support.**AbstractApplicationContext.**
>> refresh(**AbstractApplicationContext.**java:397)
>> at
>> org.springframework.context.**support.**ClassPathXmlApplicationContext**
>> .<init>(**ClassPathXmlApplicationContext**.java:139)
>> at
>> org.springframework.context.**support.**ClassPathXmlApplicationContext**
>> .<init>(**ClassPathXmlApplicationContext**.java:93)
>> at
>> org.apache.james.container.**spring.context.**
>> JamesServerApplicationContext.**<init>(**JamesServerApplicationContext.**
>> java:39)
>> at org.apache.james.container.**spring.Main.init(Main.java:66)
>> at org.apache.james.container.**spring.Main.main(Main.java:42)
>> Caused by: java.io.FileNotFoundException: class path resource
>> [context/james-server-context.**xml] cannot be opened because it does not
>> exist
>> at
>> org.springframework.core.io.**ClassPathResource.**getInputStream(**
>> ClassPathResource.java:158)
>> at
>> org.springframework.beans.**factory.xml.**XmlBeanDefinitionReader.**
>> loadBeanDefinitions(**XmlBeanDefinitionReader.java:**328)
>> ... 15 more
>>
>>
>
> --
> eric | http://about.echarles.net | @echarles
>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.**apache.org<server-dev-unsubscribe@james.apache.org>
> For additional commands, e-mail: server-dev-help@james.apache.**org<server-dev-help@james.apache.org>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message