Coder Social home page Coder Social logo

emacsist.github.io's People

Contributors

emacsist avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

emacsist.github.io's Issues

mybaits可以用clickhouse

看到你到文章,多数据源的那个,我在使用的时候提示
Cause: java.lang.RuntimeException: 无法自动获取数据库类型,请通过 dialect 参数指定!

SpringBoot自定义starter

https://emacsist.github.io/2018/08/14/springboot自定义starter/

pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-autoconfigure</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-configuration-processor</artifactId> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-api</artifactId> <version>1.7.25</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> </dependency> </dependencies> <distributionManagement> <repository> <id>uniweibo</id> <name>uniweibo</name> <url>http://10.0.0.40:8081/repository/uniweibo/&lt;/url> </repository> </distributionManagement> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> </configuration> </plugin> </plugins> </build> 上面的,

[翻译]Netty4中 Ctx.close 与 Ctx.channel.close 的区别

https://emacsist.github.io/2018/04/27/翻译netty4中-ctx.close-与-ctx.channel.close-的区别/

翻译 原文 stackoverflow 让我们假设在 pipeline 里有三个 handlers , 它们都都拦截 close() 方法操作, 并且在面里调用 ctx.close() ChannelPipeline p = ...; p.addLast("A", new SomeHandler()); p.addLast("B", new SomeHandler()); p.addLast("C", new SomeHandler()); ... public class SomeHandler extends ChannelOutboundHandlerAdapter { @OverRide public void close(ChannelHandlerContext ctx, ChannelPromise promise) { ctx.close(promise); } } Channel.close()

mail

您的邮箱多少哦?博客没看到邮箱

Jackson序列化没有get, Set方法的POJO

https://emacsist.github.io/2018/04/28/jackson序列化没有get-set方法的pojo/?code=ace08b807b1b73ada069

异常 重现代码 @test public void testObjectMapper() throws JsonProcessingException { ObjectMapper objectMapper = new ObjectMapper(); Man man = new Man(); System.out.println(objectMapper.writeValueAsString(man)); } public static class Man { private int age; private String name; } 当 Jackson 遇到没有 getter, setter 方法的 POJO 时, 会抛出这个异常: com.fasterxml.jackson.databind.JsonMappingException: No serializer found for class JUnitTest$Man and no properties discovered

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.