Code Monkey home page Code Monkey logo

jpetstore-6's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar emacarron avatar firpo7 avatar harawata avatar hazendaz avatar hboutemy avatar kazuki43zoo avatar l2dy avatar lanznx avatar otherdevopsgene avatar renovate[bot] avatar simonetripodi avatar srbala avatar wangdx avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jpetstore-6's Issues

Does not run on Ubuntu 14.04

Running mvn clean tomcat7:run firstly errors because version 26-SNAPSHOT is not available, however once updating to version 25:

<parent>
    <groupId>org.mybatis</groupId>
    <artifactId>mybatis-parent</artifactId>
    <version>25</version>
    <relativePath />
  </parent>

it starts but I am unable to connect to it remotely or locally:

$ wget localhost:8080/jpetstore
--2015-10-26 00:20:12--  http://localhost:8080/jpetstore
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 

I tried using oracle-jdk-8.

The startup log ends with:

[INFO] --- tomcat7-maven-plugin:2.2:run (default-cli) @ jpetstore ---
[INFO] Running war on http://localhost:8080/jpetstore
[INFO] Using existing Tomcat server configuration at /home/jp/jpetstore-6/target/tomcat
[INFO] create webapp with contextPath: /jpetstore
Oct 26, 2015 12:19:43 AM org.apache.coyote.AbstractProtocol init
INFO: Initializing ProtocolHandler ["http-bio-8080"]
Oct 26, 2015 12:19:43 AM org.apache.catalina.core.StandardService startInternal
INFO: Starting service Tomcat
Oct 26, 2015 12:19:43 AM org.apache.catalina.core.StandardEngine startInternal
INFO: Starting Servlet Engine: Apache Tomcat/7.0.47
Oct 26, 2015 12:19:45 AM org.apache.catalina.core.ApplicationContext log
INFO: No Spring WebApplicationInitializer types detected on classpath
Oct 26, 2015 12:19:45 AM org.apache.catalina.core.ApplicationContext log
INFO: Initializing Spring root WebApplicationContext
0 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/AccountMapper.class]
2 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/AccountMapper.class]
2 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/CategoryMapper.class]
2 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/CategoryMapper.class]
2 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/ItemMapper.class]
3 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/ItemMapper.class]
3 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/SequenceMapper.class]
3 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/SequenceMapper.class]
3 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/LineItemMapper.class]
4 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/LineItemMapper.class]
4 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/ProductMapper.class]
4 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/ProductMapper.class]
4 [localhost-startStop-1] TRACE org.mybatis.spring.mapper.ClassPathMapperScanner  - Scanning file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/OrderMapper.class]
5 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Identified candidate component class: file [/home/jp/jpetstore-6/target/classes/org/mybatis/jpetstore/persistence/OrderMapper.class]
5 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'accountMapper' and 'org.mybatis.jpetstore.persistence.AccountMapper' mapperInterface
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'accountMapper'.
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'categoryMapper' and 'org.mybatis.jpetstore.persistence.CategoryMapper' mapperInterface
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'categoryMapper'.
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'itemMapper' and 'org.mybatis.jpetstore.persistence.ItemMapper' mapperInterface
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'itemMapper'.
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'sequenceMapper' and 'org.mybatis.jpetstore.persistence.SequenceMapper' mapperInterface
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'sequenceMapper'.
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'lineItemMapper' and 'org.mybatis.jpetstore.persistence.LineItemMapper' mapperInterface
6 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'lineItemMapper'.
7 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'productMapper' and 'org.mybatis.jpetstore.persistence.ProductMapper' mapperInterface
7 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'productMapper'.
7 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Creating MapperFactoryBean with name 'orderMapper' and 'org.mybatis.jpetstore.persistence.OrderMapper' mapperInterface
7 [localhost-startStop-1] DEBUG org.mybatis.spring.mapper.ClassPathMapperScanner  - Enabling autowire by type for MapperFactoryBean with name 'orderMapper'.
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

Can't deploy package

Hi,

Following the instructions when I try to run mvnw clean package I get a maven error for a non-resolvable parent - see errors below. Any ideas?

 ./mvnw clean package
/jpetstore-6
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.mybatis:jpetstore:6.0.3-SNAPSHOT: Could not find artifact org.mybatis:mybatis-parent:pom:29-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 22, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.mybatis:jpetstore:6.0.3-SNAPSHOT (/jpetstore-6/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.mybatis:jpetstore:6.0.3-SNAPSHOT: Could not find artifact org.mybatis:mybatis-parent:pom:29-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 22, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
ubuntu@ip-172-31-30-28:/jpetstore-6$ ./mvnw cargo:run -P tomcat85
/jpetstore-6
[INFO] Scanning for projects...
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for org.mybatis:jpetstore:6.0.3-SNAPSHOT: Could not find artifact org.mybatis:mybatis-parent:pom:29-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 22, column 11
 @
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.mybatis:jpetstore:6.0.3-SNAPSHOT (/jpetstore-6/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM for org.mybatis:jpetstore:6.0.3-SNAPSHOT: Could not find artifact org.mybatis:mybatis-parent:pom:29-SNAPSHOT and 'parent.relativePath' points at no local POM @ line 22, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

JPetShop with Azure Application Insight

Hi everyone,
I would like to to test the Application Insight tool of Microsoft Azure. For this reason, I took a Java EE application (jpetshop) and I am trying to set up the Application Insight on top of it following this guide: https://docs.microsoft.com/en-us/azure/application-insights/app-insights-java-get-started

I added the Maven dependency and repository and, thanks to Eclipse, I created the ApplicationInsights.xml file with my InstrumentationKey. The only thing that I am not sure about is how to add is the HTTP filter on this application (point 4).

I added this to the filter block:

.....


ApplicationInsightsRequestNameInterceptor
com.microsoft.applicationinsights.web.struts.RequestNameInterceptor

But I don't know how to add the filter and make it works with Spring and Stripes.
Do you know how can I do that?

Thank you

Faild to import with Egit

Hi,

I try to import jpetstore-6 into my workspace ,but at the last step , it shows "not project found"
Is it necessary to push a .project file to the jpetstore-6?

thanks

mapping locations problems

No need to set mappingLocation in SqlSessionFactoryBean bean define?
I debug in mybatis-spring version 1.2.3 in SqlSessionFactoryBean, I found there is no default for mapperLocations and if no define for mapperLocations, it will just log debug info.

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.