当前位置: 首页 > news >正文

jsp网站开发广告位安装wordpress 此网页包含重定向循环

jsp网站开发广告位,安装wordpress 此网页包含重定向循环,lol视频网站模板,asp服装网站源码算了#xff0c;放弃挣扎了#xff0c;笔者写了一些代码#xff0c;发现还是绕不过springboot#xff0c;或者说自己来进行依赖管理最后肯定会爆炸的。同时方便后续接入第三方框架#xff0c;咱们还是老老实实的接入springboot框架吧。 父pom引入parent依赖#xff1a; …        算了放弃挣扎了笔者写了一些代码发现还是绕不过springboot或者说自己来进行依赖管理最后肯定会爆炸的。同时方便后续接入第三方框架咱们还是老老实实的接入springboot框架吧。 父pom引入parent依赖 parentgroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-parent/artifactIdversion2.3.3.RELEASE/versionrelativePath//parent eternity-server增加依赖 dependenciesdependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-web/artifactId/dependencydependencygroupIdcom.loveprogrammer/groupIdartifactIdeternity-core/artifactIdversion1.0-SNAPSHOT/version/dependency/dependencies 修改eternity-server启动类 package com.loveprogrammer;import com.loveprogrammer.base.factory.ServerBootstrapFactory; import com.loveprogrammer.base.factory.ServerChannelFactory; import com.loveprogrammer.exception.ServerException; import com.loveprogrammer.netty.simple.SocketServer; import com.loveprogrammer.netty.start.BasicServer; import com.loveprogrammer.netty.start.IServer; import io.netty.bootstrap.ServerBootstrap; import io.netty.channel.Channel; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication;/*** Hello world!**/ SpringBootApplication public class EternityServerMain {// 为了保证使用时不需要每次都去创建logger 对象我们声明静态常量public static final Logger LOGGER LoggerFactory.getLogger(EternityServerMain.class);public static void main( String[] args ){LOGGER.info( Hello World! );// 最基本的启动方法 // try { // LOGGER.info(开始启动Socket服务器...); // new SocketServer().run(); // } catch (Exception e) { // LOGGER.error( 服务器启动失败,e); // }// 工厂模式启动方法 // try { // Channel channel ServerChannelFactory.createAcceptorChannel(); // channel.closeFuture().sync(); // } catch (Exception e) { // LOGGER.error( 服务器启动失败,e); // }SpringApplication.run(EternityServerMain.class, args);System.out.println((♥◠‿◠) springboot启动成功 ლ(´ڡლ) \n);// 启动类启动try {IServer server new BasicServer();server.start();} catch (Exception e) {LOGGER.error( 服务器启动失败,e);}} }增加配置文件 application.yml server:port: 8083 logging:level:com.loveprogrammer: debugorg.springframework: warnio.netty: debug 启动日志如下 15:11:17.181 [main] INFO com.loveprogrammer.EternityServerMain - Hello World!. ____ _ __ _ _/\\ / ____ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | _ | _| | _ \/ _ | \ \ \ \\\/ ___)| |_)| | | | | || (_| | ) ) ) ) |____| .__|_| |_|_| |_\__, | / / / /|_||___//_/_/_/:: Spring Boot :: (v2.3.3.RELEASE)2024-02-05 15:11:17.476 INFO 12648 --- [ main] com.loveprogrammer.EternityServerMain : Starting EternityServerMain on DESKTOP-0VA8RF8 with PID 12648 (F:\gitee\game\eternity-online\eternity-server\target\classes started by admin in F:\gitee\game\eternity-online) 2024-02-05 15:11:17.477 DEBUG 12648 --- [ main] com.loveprogrammer.EternityServerMain : Running with Spring Boot v2.3.3.RELEASE, Spring v5.2.8.RELEASE 2024-02-05 15:11:17.477 INFO 12648 --- [ main] com.loveprogrammer.EternityServerMain : No active profile set, falling back to default profiles: default 2024-02-05 15:11:17.947 INFO 12648 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2024-02-05 15:11:17.947 INFO 12648 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.37] 2024-02-05 15:11:18.102 INFO 12648 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2024-02-05 15:11:18.292 INFO 12648 --- [ main] com.loveprogrammer.EternityServerMain : Started EternityServerMain in 1.047 seconds (JVM running for 1.408) (♥◠‿◠) springboot启动成功 ლ(´ڡლ) 2024-02-05 15:11:18.295 INFO 12648 --- [ main] c.loveprogrammer.base.bean.ServerConfig : **************Server INFO****************** 2024-02-05 15:11:18.295 INFO 12648 --- [ main] c.loveprogrammer.base.bean.ServerConfig : protocolType : TCP 2024-02-05 15:11:18.295 INFO 12648 --- [ main] c.loveprogrammer.base.bean.ServerConfig : port : 8088 2024-02-05 15:11:18.295 INFO 12648 --- [ main] c.loveprogrammer.base.bean.ServerConfig : channelType : NIO 2024-02-05 15:11:18.295 INFO 12648 --- [ main] c.loveprogrammer.base.bean.ServerConfig : **************Server INFO****************** 2024-02-05 15:11:18.298 DEBUG 12648 --- [ main] i.n.u.i.logging.InternalLoggerFactory : Using SLF4J as the default logging framework 2024-02-05 15:11:18.301 DEBUG 12648 --- [ main] i.n.channel.MultithreadEventLoopGroup : -Dio.netty.eventLoopThreads: 16 2024-02-05 15:11:18.306 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : java.nio.Buffer.address: available 2024-02-05 15:11:18.306 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : sun.misc.Unsafe.theUnsafe: available 2024-02-05 15:11:18.306 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : sun.misc.Unsafe.copyMemory: available 2024-02-05 15:11:18.307 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : direct buffer constructor: available 2024-02-05 15:11:18.307 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : java.nio.Bits.unaligned: available, true 2024-02-05 15:11:18.307 DEBUG 12648 --- [ main] i.n.util.internal.PlatformDependent0 : java.nio.DirectByteBuffer.init(long, int): available 2024-02-05 15:11:18.307 DEBUG 12648 --- [ main] io.netty.util.internal.Cleaner0 : java.nio.ByteBuffer.cleaner(): available 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : Platform: Windows 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : Java version: 8 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : -Dio.netty.noUnsafe: false 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : sun.misc.Unsafe: available 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : -Dio.netty.noJavassist: false 2024-02-05 15:11:18.308 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : Javassist: unavailable 2024-02-05 15:11:18.309 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : You dont have Javassist in your class path or you dont have enough permission to load dynamically generated classes. Please check the configuration for better performance. 2024-02-05 15:11:18.309 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : -Dio.netty.tmpdir: C:\Users\admin\AppData\Local\Temp (java.io.tmpdir) 2024-02-05 15:11:18.309 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : -Dio.netty.bitMode: 64 (sun.arch.data.model) 2024-02-05 15:11:18.309 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : -Dio.netty.noPreferDirect: false 2024-02-05 15:11:18.309 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : io.netty.maxDirectMemory: 3806855168 bytes 2024-02-05 15:11:18.315 DEBUG 12648 --- [ main] io.netty.channel.nio.NioEventLoop : -Dio.netty.noKeySetOptimization: false 2024-02-05 15:11:18.315 DEBUG 12648 --- [ main] io.netty.channel.nio.NioEventLoop : -Dio.netty.selectorAutoRebuildThreshold: 512 2024-02-05 15:11:18.317 DEBUG 12648 --- [ main] i.netty.util.internal.PlatformDependent : org.jctools-core.MpscChunkedArrayQueue: available 2024-02-05 15:11:18.334 INFO 12648 --- [ main] c.l.base.factory.ServerChannelFactory : 创建Server... 2024-02-05 15:11:18.337 DEBUG 12648 --- [ main] io.netty.channel.DefaultChannelId : -Dio.netty.processId: 12648 (auto-detected) 2024-02-05 15:11:18.338 DEBUG 12648 --- [ main] io.netty.util.NetUtil : -Djava.net.preferIPv4Stack: false 2024-02-05 15:11:18.338 DEBUG 12648 --- [ main] io.netty.util.NetUtil : -Djava.net.preferIPv6Addresses: false 2024-02-05 15:11:18.373 DEBUG 12648 --- [ main] io.netty.util.NetUtil : Loopback interface: lo (Software Loopback Interface 1, 127.0.0.1) 2024-02-05 15:11:18.374 DEBUG 12648 --- [ main] io.netty.util.NetUtil : \proc\sys\net\core\somaxconn: 200 (non-existent) 2024-02-05 15:11:18.411 DEBUG 12648 --- [ main] io.netty.channel.DefaultChannelId : -Dio.netty.machineId: b4:2e:99:ff:fe:84:c1:cf (auto-detected) 2024-02-05 15:11:18.412 DEBUG 12648 --- [ main] i.netty.util.internal.ThreadLocalRandom : -Dio.netty.initialSeedUniquifier: 0xc160f6aba52ef4a2 2024-02-05 15:11:18.417 DEBUG 12648 --- [ main] io.netty.util.ResourceLeakDetector : -Dio.netty.leakDetection.level: simple 2024-02-05 15:11:18.417 DEBUG 12648 --- [ main] io.netty.util.ResourceLeakDetector : -Dio.netty.leakDetection.maxRecords: 4 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.numHeapArenas: 16 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.numDirectArenas: 16 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.pageSize: 8192 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.maxOrder: 11 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.chunkSize: 16777216 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.tinyCacheSize: 512 2024-02-05 15:11:18.421 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.smallCacheSize: 256 2024-02-05 15:11:18.422 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.normalCacheSize: 64 2024-02-05 15:11:18.422 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.maxCachedBufferCapacity: 32768 2024-02-05 15:11:18.422 DEBUG 12648 --- [ main] io.netty.buffer.PooledByteBufAllocator : -Dio.netty.allocator.cacheTrimInterval: 8192 2024-02-05 15:11:18.426 DEBUG 12648 --- [ main] io.netty.buffer.ByteBufUtil : -Dio.netty.allocator.type: pooled 2024-02-05 15:11:18.426 DEBUG 12648 --- [ main] io.netty.buffer.ByteBufUtil : -Dio.netty.threadLocalDirectBufferSize: 65536 2024-02-05 15:11:18.426 DEBUG 12648 --- [ main] io.netty.buffer.ByteBufUtil : -Dio.netty.maxThreadLocalCharBufferSize: 16384Process finished with exit code -1有了spring我们开始下一步增加消息分发功能 全部源码详见 gitee : eternity-online: 多人在线mmo游戏 - Gitee.com 分支step-05
http://www.zqtcl.cn/news/47137/

相关文章:

  • 网站内容建设的布局和结构图自动发布 wordpress
  • 学院网站建设意义世界购物平台排行榜
  • 深圳市建设科技促进中心网站域名邮箱免费注册
  • 武侯区建设局门户网站做淘宝客找商品网站有哪些
  • 云南建设厅官方网站西安住房建设局网站首页
  • 乌尔禾区做网站哪里好单位做网站资料需要什么软件
  • 旅游网站建设目标怎样做水族馆网站
  • 建筑网站ad甘肃省住房和建设厅网站
  • 招聘网站建设维护wordpress vue react
  • 血液中心网站建设方案网站开发的报价
  • 有关网站建设的外文文献高端网站建设慕枫
  • 手机建网站免费域名空间做流程图网站
  • 建筑设计案例网站做跨境电商网站
  • 大学的网站设计wordpress下拉框插件
  • 阜阳做网站如何做seo优化
  • 晟合建设集团网站国内优秀个人网站欣赏
  • 苏州定制建站网站建设免费的黄冈网站有哪些平台?
  • 织梦怎么更新网站html怎么建立网站 个人
  • 一小时做网站顺德搜索seo网络推广
  • 做企业网站需要什么文件自已电脑做网站服务器
  • 婴儿衣服做的网站网页设计学科门类是啥
  • 网站建设企业模板定制网站开发平台
  • 接网站建设的平台以下哪个不是网站开发工具
  • 温室大棚建设 网站及排名转卖建设一个网站主要受哪些因素的影响
  • 优设网网站网站建设与安全
  • 做黎川旅游网站的目的交通运输部:全力保障交通网络畅通
  • 电子商务 网站开发现代企业网站建设特点
  • 杭州集团网站建设方案鄂州网吧什么时候恢复营业
  • 湖州建设网站如何对上传的网站做代码修改
  • app展示网站模板免费下载如果修改wordpress后台登录域名