Giter VIP home page Giter VIP logo

Comments (4)

oldmanpushcart avatar oldmanpushcart commented on August 14, 2024

pom.xml文件的内容可以给一下么?

from jvm-sandbox.

yb755 avatar yb755 commented on August 14, 2024

@oldmanpushcart 谢谢回复,下面是我的pom文件

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.vbgps</groupId>
  <artifactId>sandbox-clock</artifactId>
  <version>0.0.1-SNAPSHOT</version>
  
  <dependencies>
  	<!-- 
	     沙箱模块的API定义二方包
	     这个二方包可以被声明为provided
	-->
	<dependency>
	    <groupId>com.alibaba.jvm.sandbox</groupId>
	    <artifactId>sandbox-api</artifactId>
	    <version>1.0.9</version>
	</dependency>
	
	<!-- 
	     javax.servlet的三方包
	     在沙箱模块中需要用到HttpServletReuqest和HttpServletResponse
	     整个沙箱模块被放置在Servlet容器中完成加载
	-->
	<dependency>
	    <groupId>javax.servlet</groupId>
	    <artifactId>javax.servlet-api</artifactId>
	    <version>3.0.1</version>
	</dependency>
  </dependencies>
  <build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-assembly-plugin</artifactId>
            <executions>
                <execution>
                    <goals>
                        <goal>attached</goal>
                    </goals>
                    <phase>package</phase>
                    <configuration>
                        <descriptorRefs>
                            <descriptorRef>jar-with-dependencies</descriptorRef>
                        </descriptorRefs>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>
</project>

from jvm-sandbox.

yb755 avatar yb755 commented on August 14, 2024

顺便说一下,那个报错,没有影响到Clock例子的运行,例子的两个方法都测试通过了,只是日志中报那个错误

from jvm-sandbox.

oldmanpushcart avatar oldmanpushcart commented on August 14, 2024

我也挺奇怪,竟然会找不到这个类...抱歉暂时我没有想到什么足够的信息帮助我判断

from jvm-sandbox.

Related Issues (20)

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.