← ClaudeAtlas

spring-to-solon-skilllisted

Expert guidance for migrating Java projects from Spring Boot / Spring Cloud to the Solon framework. Provides comprehensive annotation mapping, dependency replacement, architecture differences, and step-by-step migration strategies for each layer (IoC, Web, Data, Cloud, Testing).
opensolon/soloncode · ★ 119 · Code & Development · score 83
Install: claude install-skill opensolon/soloncode
# Spring to Solon Migration Skill Provide expert guidance for migrating Java projects from **Spring Boot** / **Spring Cloud** to the **Solon framework**. Solon is an independent Java enterprise framework (NOT based on Spring) that offers similar developer experience but with different annotations, architecture, and ecosystem. **Official comparison**: https://solon.noear.org/article/compare-springboot **Official cloud comparison**: https://solon.noear.org/article/compare-springcloud **Solon website**: https://solon.noear.org **Current version**: 3.10.x ## Critical Migration Rules 1. **Solon is NOT Spring.** Never mix Spring annotations with Solon annotations. Replace ALL Spring imports. 2. **No Spring dependencies.** Remove all `spring-boot-starter-*`, `spring-*` artifacts. Solon uses `org.noear` group ID. 3. **Configuration file** is `app.yml` (or `app.properties`), NOT `application.yml`. 4. **Entry point** is `Solon.start(App.class, args)`, NOT `SpringApplication.run()`. 5. **Parent POM** is `solon-parent` with `groupId=org.noear`. 6. **Package scan** uses `@Import` on main class, NOT `@ComponentScan`. 7. **No setter injection.** Solon only supports field injection and constructor injection. 8. **All examples target Solon 3.10.x** unless specified otherwise. 9. **中文支持.** When the user communicates in Chinese, all responses and code comments must be in Chinese. ## Migration Scene Navigation > 根据迁移场景,读取对应的 reference 文件获取详细信息。 ### 快速对照 | Scenario | Reference File | Grep