Comments (4)
That's strange. It works fine, here.
Which War did you deploy? Did you build it from the master branch?
from axon-trader.
Thank you for your reply,
yes, I build it from the master branch and pass tests,I According to the user manual run this sample whit jetty ,it throw error,but error info display of incomplete (use command mvn jetty:run-war) ,so I deploy axon-trader-webui-0.1-SNAPSHOT.war to tomacat server .
Error info in jetty :
INFO - main - licationContextInitializer - Activating the default profile
within the application context.
WARN - main - ConfigurationFactory - No configuration found. Config
uring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/C:/Us
ers/Administrator/AppData/Local/Temp/Jetty_0_0_0_0_8080_axon.trader.webui.0.1.SN
APSHOT.war____j6j2nc/webapp/WEB-INF/lib/ehcache-core-2.2.0.jar!/ehcache-failsafe
.xml
ERROR - main - ContextLoader - Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean wit
h name 'portfolioCommandHandler': Injection of autowired dependencies failed; ne
sted exception is org.springframework.beans.factory.BeanCreationException: Could
not autowire method: public void org.axonframework.samples.trader.orders.comman
d.PortfolioCommandHandler.setRepository(org.axonframework.repository.Repository)
; nested exception is org.springframework.beans.factory.BeanCreationException: E
rror creating bean with name 'portfolioRepository': Initialization of bean faile
d; nested exception is org.springframework.beans.ConversionNotSupportedException
: Failed to convert property value of type 'net.sf.ehcache.jcache.JCache' to req
uired type 'javax.cache.Cache' for property 'cache'; nested exception is java.la
ng.IllegalStateException: Cannot convert value of type [net.sf.ehcache.jcache.JC
ache] to required type [javax.cache.Cache] for property 'cache': no matching edi
tors or conversion strategy found....
when inject 'portfolioCommandHandler' throw error
from axon-trader.
Hi,
there were some cache related issues. I have no idea why it worked on my workspace, but clearing the (workspace) caches allowed me to reproduce the issue.
Please pull in the latest changes on master (commit 4fbde16). That should fix the issue.
Cheers,
Allard
from axon-trader.
Yes it caused by the cache ,I had commented cache bean(in cqrs-infrastructure-context.xml) and all references ,it works ok;
Cheers,
from axon-trader.
Related Issues (20)
- Replace event store by hsqldb/jdbc event store HOT 2
- Create event store based on mongojack HOT 1
- Replace Jetty with Tomcat 8 HOT 1
- Replace auto trader with an in application functionality
- Replace the JSP for React front-end implementation
- Upgrade all the libraries HOT 1
- User uniqueness test missing HOT 14
- Doesn't build on Maven 3.3
- Update to Axon 3 HOT 3
- mvn tomcat7:run will not start application HOT 3
- how to use mongo db HOT 2
- some question with axon HOT 1
- Correct Use Of Aggregate's Execute And Handle Methods HOT 1
- Update Application to Axon Framework best practices HOT 3
- Error creating bean with name 'companyOrderBookListener' HOT 8
- query.users.UserEventHandler - No default constructor found HOT 7
- No Default constructor in PortfolioManagementUserListener HOT 3
- How can you change the current database hsqlDb to Mysql database? Thank you for your advice.
- Update to use Latest Axon and Spring?
- Classes missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from axon-trader.