vdurmont / emoji-java

The missing emoji library for Java :heart:
MIT License
2.62k stars 513 forks source link

NoClassDefFoundError: com/vdurmont/emoji/EmojiParser$FitzpatrickAction #170

Open fuuqiu opened 3 years ago

fuuqiu commented 3 years ago

`

cn.hutool
        <artifactId>hutool-all</artifactId>
        <version>5.5.4</version>
    </dependency>

`

Exception in thread "main" java.lang.NoClassDefFoundError: com/vdurmont/emoji/EmojiParser$FitzpatrickAction at cn.hutool.extra.emoji.EmojiUtil.toAlias(EmojiUtil.java:104) at com.ruoyi.web.controller.common.CaptchaController.main(CaptchaController.java:90) Caused by: java.lang.ClassNotFoundException: com.vdurmont.emoji.EmojiParser$FitzpatrickAction at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more

baszero commented 2 years ago

Then you don't have the emoji lib on your runtime class path. please close this issue. @sullis