Comments (4)
@dezzeus Nothing to do with corbeans i'm afraid. Boot and Corda are not the best of bed fellows when sharing the same classpath e.g. in tests. Spring MVC goes about it's business but Boot has autoconfiguration beans ready to be triggered by whatever. Corda's dependencies include ActiveMQ and Boot probably thinks it needs a broker.
Sadly there's no one-size-fits-all around dependency/classpath issues between the two platforms. I suggest starting with the sample/template instead of going from scratch, and gradually add your stuff. More iterative approach and has some not so obvious things covered so you can focus on wrapping your app around the useful bits..
If you need help feel free to post, always helps me improve the docs a bit.
from corbeans.
Thank you @manosbatsis, I'll give a try to the template… :)
from corbeans.
@dezzeus I'm not sure what ActiveMQ is used for as I'm checking Corda for the first time but to avoid the exception above you have two options
- Exclude
org.apache.activemq:artemis-amqp-protocol
it will start,
<dependency>
<groupId>com.github.manosbatsis.corbeans</groupId>
<artifactId>corbeans-spring-boot-corda</artifactId>
<version>${corbeans_version}</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>org.apache.activemq</groupId>
<artifactId>artemis-amqp-protocol</artifactId>
</exclusion>
</exclusions>
</dependency>
- Alternatively, you can exclude the autoconfiguration in your SpringBootApplication
@SpringBootApplication(exclude = arrayOf(ArtemisAutoConfiguration::class))
I'm doing so while getting started. If I find I need ActiveMQ later I will configure it.
As I mentioned before, I'm just getting started, So, if your case is more advanced you may need to actually configure ActiveMQ correctly
from corbeans.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from corbeans.
Related Issues (20)
- Published artifacts are missing deps
- Support Cordform HOT 1
- Add Corda-specific health and metrics to Actuator
- Redundant root JAR artifact
- Add attachement upload endpoint
- Improove RPC connection handling
- Move to CircleCI HOT 1
- Provide dynamic RPC ops option HOT 1
- 400-level error for not found linear IDs
- NodeDriverHelper fixes HOT 1
- Cannot run integration tests with Corda Enterprise 4.2
- Don't Use mavenLocal() HOT 1
- Ignore IDEA Compile Directories
- Can't Compile Project HOT 1
- Fix "ErrorCodeRewritePolicy" warnings HOT 1
- Utilise reconnecting RPC in 4.3
- Switch to SpringDoc/Swagger 3 HOT 1
- Support seperate JVM/classpath for Corda-Spring integration tests HOT 1
- trustStore-related node params are ignored HOT 8
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 corbeans.