Try CTRL-R and type james-server-context.xml to see if Eclipse knows that file in the workspace.

If not, ensure you have defined the needed src folder james-server-context.xml.

Thx, Eric

On 07/31/2012 03:06 PM, Merve Temizer wrote:
Where can i see exclusions?

On container-spring:

Project RightClick -> Properties -> Build Path -> Source

every node has statement : "Excluded: None"

I am on 3beta1.


2012/7/31 Eric Charles <[email protected]>

Click F5 and check if the exclusions of your eclipse project build path
are removed. CTRL-B if the automatic build is not activated to rebuild.

Eric


On 07/31/2012 01:54 PM, Merve Temizer wrote:

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 <[email protected]>

  remove-m2eclipse-exclusions.sh ?

https://github.com/aos-io/aos-****sdk/blob/master/sh/remove-**<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<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>
<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-**[email protected]<[email protected]>

For additional commands, e-mail: [email protected].****org<
server-dev-help@james.**apache.org <[email protected]>>





--
eric | http://about.echarles.net | @echarles


------------------------------**------------------------------**---------
To unsubscribe, e-mail: 
server-dev-unsubscribe@james.**apache.org<[email protected]>
For additional commands, e-mail: 
[email protected].**org<[email protected]>




--
eric | http://about.echarles.net | @echarles



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to