由于我的Mac上以及Windows上的某些原因,我将我的Apache Tomcat服务器配置在Eclipse中的同一地点。我正在创建一个小型肥皂服务,但是当我启动服务器的警告时,我一直在收到此错误:无法找到所需的类(javax.activation.datahandler和javax.mail.mail.internet.mimemultipart)。附件支持被禁用。就编辑配置文件而言,我尝试了Internet上的许多旧解决方案,并确保在类路径中添加了这些罐子。不确定我是否需要专门将这些JAR文件放置在我的tomcat目录中的某个地方(我尝试过但不起作用),或将它们专门放在我的Eclipse Web-Inf/lib文件夹中(我尝试过但无效)
另一个问题是如何在服务器运行后如何访问Localhost,最初用于加载默认浏览器,但是现在它不是,并且不允许我键入https:// localhost:8443图片附加图片
堆栈:
Java版本“ 1.8.0_333”
Java(TM)SE运行时环境(构建1.8.0_333-B02)
Java热点(TM)64位服务器VM(构建25.333-B02,混合模式)
Apache Tomcat服务器9.0.62
Windows 10/Macos Monterey
蚀
For some reason on my Mac along with Windows I'm stuck at the same place as far as configuring my Apache Tomcat server within eclipse. I'm creating a small SOAP service but I keep receiving this error when I start the server 'WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.' I've tried many of the old solutions on the internet as far as editing config files and making sure those jars are added in the classpath. Not sure if I need to specifically place those jar files somewhere within my tomcat directory (which I tried but didn't work) or place them specifically in my eclipse web-inf/lib folder (which I tried but didnt work)


Not really sure what else do, could those who provide assist give other solutions other than the common ones found on the internet.
And another side question is how to i access localhost after the server is running, it initially used to load on the default browser but now it doesn't and doesn't let me type in https://localhost:8443 picture attached

Stack:
java version "1.8.0_333"
Java(TM) SE Runtime Environment (build 1.8.0_333-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.333-b02, mixed mode)
Apache Tomcat Server 9.0.62
Windows 10/MacOs Monterey
Eclipse
发布评论