application.yml

spring:
  datasource:
    url: jdbc:db2://localhost:25000/SAMPLE
    username: "아이디"
    password: "패스워드"
    driverClassName: com.ibm.db2.jcc.DB2Driver
    testWhileIdle: true
    validationQuery: SELECT 1
  jpa:
    show-sql: true
    generate-ddl: false
    database-platform: DB2Platform
    hibernate:
      ddl-auto: none
      naming-strategy: org.hibernate.cfg.ImprovedNamingStrategy
    properties:
      hibernate:
        dialect: org.hibernate.dialect.DB2Dialect

mybatis:
  mapper-locations: mapper/TestMapper.xml
  #  mapper-locations: mapper/**/*.xml # mapper 기본경로  
 
 
 
pom.xml
 
<!-- mybatis-->
<dependency>    
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.1</version>
</dependency>

 

 
 
   <!-- db2 connection -->
<dependency>
 <groupId>com.ibm.db2.jcc</groupId>
 <artifactId>db2jcc4</artifactId>
 <version>10.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
<version>2.6.7</version>
</dependency>

 

C:\Program Files\nodejs

npm.cmd파일내용 중 prefix -g => prefix -location=global  로 변경
--------------------------------------
:: Created by npm, please don't edit manually.
@ECHO OFF

SETLOCAL

SET "NODE_EXE=%~dp0\node.exe"
IF NOT EXIST "%NODE_EXE%" (
  SET "NODE_EXE=node"
)

SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js"
FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -location=global') DO (
  SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js"
)
IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" (
  SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%"
)

"%NODE_EXE%" "%NPM_CLI_JS%" %*

--------------------------------------

document.addEventListener('DOMContentLoaded', function() {
var calendarEl = document.getElementById('calendar');

var calendar = new FullCalendar.Calendar(calendarEl, {
height: '100%',
expandRows: true,
headerToolbar: {
left: 'prev,next today',
center: 'title',
right: 'dayGridMonth,timeGridWeek,timeGridDay,listWeek'
},
 
navLinks: true, // can click day/week names to navigate views
editable: false,
selectable: false,
//selectMirror: true,
fixedWeekCount:false,
locale: 'ko',
businessHours: true,
nowIndicator: true,
dayMaxEvents: true, // allow "more" link when too many events

googleCalendarApiKey: '개인구글캘린더apikey',
//연동될 구글캘린더가 여러개인경우 eventSources를 이용하여 캘린더 머지함
eventSources: [
{
   googleCalendarId: '공개한내구글캘린더id@group.calendar.google.com',
   color: 'green'
},
{  //대한민국 공휴일
   googleCalendarId: 'ko.south_korea#holiday@group.v.calendar.google.com'
}
]
,eventClick: function(info){
   //클릭시 구글캘린더 url로 가는것을 막는다.
   info.jsEvent.stopPropagation();
   info.jsEvent.preventDefault();
}


/*
//연동할 구글캘린더가 1개인 경우 
events: {
   googleCalendarId: 'ko.south_korea#holiday@group.v.calendar.google.com'
},
eventClick: function(info){
info.jsEvent.stopPropagation();
info.jsEvent.preventDefault();
}
*/

});

calendar.render();
});

'오픈소스' 카테고리의 다른 글

install jenkins  (0) 2021.09.12
"Nexus Repository" install/service  (0) 2021.09.07

+ Recent posts