当前位置: 首页 > 工具软件 > NIO Framework > 使用案例 >

xnio-nio解决方法

林浩漫
2023-12-01

[XNIO-1 task-1] [211] [ERROR] Current request is not a multipart request

解决方法:
添加如下依赖

 <!--添加undertow -->
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-undertow</artifactId>
             <exclusions>
                 <exclusion>
                     <groupId>org.jboss.xnio</groupId>
                     <artifactId>xnio-nio</artifactId>
                 </exclusion>
             </exclusions>
         </dependency>
         <dependency>
             <groupId>org.jboss.xnio</groupId>
             <artifactId>xnio-nio</artifactId>
             <version>3.8.7.Final</version>
         </dependency>
```java

 类似资料: