묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결화이트해커가 되기 위한 모의해킹 완전 정복
rdesktop이 실행이 안 됩니다.
Autoselected keyboard map en-us이렇게만 뜹니다. 어떻게 해결해야 하나요?
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
코드 질문
'''void initAnimalName(){strAnimal[0] = "monkey";strAnimal[1] = "snake";strAnimal[2] = "lion";strAnimal[3] = "tiger";strAnimal[4] = "pig";strAnimal[5] = "rabbit";strAnimal[6] = "cow";strAnimal[7] = "chicken";strAnimal[8] = "dog";strAnimal[9] = "bird";}'''이 코트에서 모든 등호 밑에 빨간 줄이 생기고 아래와 같이 에러가 뜨는데 어떻게 수정할 수 있을까요?a value of type "const char " cannot be assigned to an entity of type "char "
-
미해결스프링 부트 개념과 활용
강의를 듣다가 궁금한점이 생겼습니다 .[jpa연동]
<?xml version="1.0" encoding="UTF-8"?><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">4.0.0<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.0.3.RELEASE</version> <relativePath/> <!-- lookup parent from repository --></parent><groupId>com.antMart.com</groupId><artifactId>antMall</artifactId><version>0.0.1-SNAPSHOT</version><name>antMall</name><description>Demo project for Spring Boot</description><properties> <java.version>1.8</java.version></properties><dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-jdbc</artifactId> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.postgresql</groupId> <artifactId>postgresql</artifactId> <scope>runtime</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.springframework.restdocs</groupId> <artifactId>spring-restdocs-mockmvc</artifactId> <scope>test</scope> </dependency></dependencies><build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins></build><repositories> <repository> <id>spring-snapshots</id> <name>Spring Snapshots</name> <url>https://repo.spring.io/snapshot</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> <repository> <id>spring-milestones</id> <name>Spring Milestones</name> <url>https://repo.spring.io/milestone</url> </repository></repositories><pluginRepositories> <pluginRepository> <id>spring-snapshots</id> <name>Spring Snapshots</name> <url>https://repo.spring.io/snapshot</url> <snapshots> <enabled>true</enabled> </snapshots> </pluginRepository> <pluginRepository> <id>spring-milestones</id> <name>Spring Milestones</name> <url>https://repo.spring.io/milestone</url> </pluginRepository></pluginRepositories>전체 pom.xml 소스 첨부드립니다 .저는 저기서 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> <scope>test</scope> </dependency>이부분만 넣으면 에러가 와장창 떠버리네요 이유를 모르겠습니다 clean도 해보고 폴더에 가서 maven을 직접 지우고 다시 빌드 해봐도 마찬가지네요 ..좀 알려주세요 .에러내용을 이미지로 첨부드리고 싶었는데 이미지를 올릴수가 없네요 여기는 ..그래서 복사해서 첨부합니다.Description Resource Path Location TypeThe project cannot be built until build path errors are resolved antMall Unknown Java ProblemThe container 'Maven Dependencies' references non existing library 'C:Usersblossom.m2repositoryorgspringframeworkbootspring-boot-starter-web2.0.3.RELEASEspring-boot-starter-web-2.0.3.RELEASE.jar' antMall Build path Build Path ProblemMissing artifact org.yaml:snakeyaml:jar:1.19 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.xmlunit:xmlunit-core:jar:2.5.1 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.restdocs:spring-restdocs-mockmvc:jar:2.0.1.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.restdocs:spring-restdocs-core:jar:2.0.1.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.data:spring-data-jpa:jar:2.0.8.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.data:spring-data-commons:jar:2.0.8.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-test:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-test-autoconfigure:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-web:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-tomcat:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-test:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-logging:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-json:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-jdbc:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-data-jpa:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-starter-aop:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework.boot:spring-boot-autoconfigure:jar:2.0.3.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-webmvc:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-web:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-tx:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-test:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-orm:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-jdbc:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-jcl:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-expression:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-core:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-context:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-beans:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-aspects:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.springframework:spring-aop:jar:5.0.7.RELEASE pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.slf4j:slf4j-api:jar:1.7.25 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.slf4j:jul-to-slf4j:jar:1.7.25 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.skyscreamer:jsonassert:jar:1.5.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.postgresql:postgresql:jar:42.2.2 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.ow2.asm:asm:jar:5.0.4 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.objenesis:objenesis:jar:2.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.mockito:mockito-core:jar:2.15.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.jboss.logging:jboss-logging:jar:3.3.2.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.jboss:jandex:jar:2.0.3.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.javassist:javassist:jar:3.22.0-GA pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hibernate.validator:hibernate-validator:jar:6.0.10.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.2.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hibernate.common:hibernate-commons-annotations:jar:5.0.1.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hibernate:hibernate-core:jar:5.2.17.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hamcrest:hamcrest-library:jar:1.3 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.hamcrest:hamcrest-core:jar:1.3 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.assertj:assertj-core:jar:3.9.1 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.aspectj:aspectjweaver:jar:1.8.13 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.apache.tomcat.embed:tomcat-embed-websocket:jar:8.5.31 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.apache.tomcat.embed:tomcat-embed-el:jar:8.5.31 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.apache.tomcat.embed:tomcat-embed-core:jar:8.5.31 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.apache.logging.log4j:log4j-to-slf4j:jar:2.10.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact org.apache.logging.log4j:log4j-api:jar:2.10.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact net.minidev:json-smart:jar:2.3 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact net.minidev:accessors-smart:jar:1.2 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact net.bytebuddy:byte-buddy:jar:1.7.11 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact net.bytebuddy:byte-buddy-agent:jar:1.7.11 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact junit:junit:jar:4.12 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact javax.validation:validation-api:jar:2.0.1.Final pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact javax.transaction:javax.transaction-api:jar:1.2 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact javax.servlet:javax.servlet-api:jar:3.1.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact javax.annotation:javax.annotation-api:jar:1.3.2 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact dom4j:dom4j:jar:1.6.1 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.zaxxer:HikariCP:jar:2.7.9 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.vaadin.external.google:android-json:jar:0.0.20131108.vaadin1 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.jayway.jsonpath:json-path:jar:2.4.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.h2database:h2:jar:1.4.197 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.module:jackson-module-parameter-names:jar:2.9.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.datatype:jackson-datatype-jsr310:jar:2.9.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.datatype:jackson-datatype-jdk8:jar:2.9.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.core:jackson-databind:jar:2.9.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.core:jackson-core:jar:2.9.6 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml.jackson.core:jackson-annotations:jar:2.9.0 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact com.fasterxml:classmate:jar:1.3.4 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact ch.qos.logback:logback-core:jar:1.2.3 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact ch.qos.logback:logback-classic:jar:1.2.3 pom.xml /antMall line 1 Maven Dependency ProblemMissing artifact antlr:antlr:jar:2.7.7 pom.xml /antMall line 1 Maven Dependency ProblemFailed to read artifact descriptor for antlr:antlr:jar:2.7.7org.eclipse.aether.resolution.ArtifactDescriptorException: Failed to read artifact descriptor for antlr:antlr:jar:2.7.7at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:282)at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.readArtifactDescriptor(DefaultArtifactDescriptorReader.java:198)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.resolveCachedArtifactDescriptor(DefaultDependencyCollector.java:535)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.getArtifactDescriptorResult(DefaultDependencyCollector.java:519)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:409)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:504)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:458)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.doRecurse(DefaultDependencyCollector.java:504)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:458)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.processDependency(DefaultDependencyCollector.java:363)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.process(DefaultDependencyCollector.java:351)at org.eclipse.aether.internal.impl.DefaultDependencyCollector.collectDependencies(DefaultDependencyCollector.java:254)at org.eclipse.aether.internal.impl.DefaultRepositorySystem.collectDependencies(DefaultRepositorySystem.java:316)at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:172)at org.apache.maven.project.DefaultProjectBuilder.resolveDependencies(DefaultProjectBuilder.java:215)at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:188)at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:119)at org.eclipse.m2e.core.internal.embedder.MavenImpl.readMavenProject(MavenImpl.java:636)at org.eclipse.m2e.core.internal.project.registry.DefaultMavenDependencyResolver.resolveProjectDependencies(DefaultMavenDependencyResolver.java:63)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refreshPhase2(ProjectRegistryManager.java:530)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$3.call(ProjectRegistryManager.java:492)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager$3.call(ProjectRegistryManager.java:1)at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:496)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:351)at org.eclipse.m2e.core.internal.project.registry.ProjectRegistryManager.refresh(ProjectRegistryManager.java:298)at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration0(ProjectConfigurationManager.java:405)at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:352)at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager$2.call(ProjectConfigurationManager.java:1)at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.executeBare(MavenExecutionContext.java:177)at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:151)at org.eclipse.m2e.core.internal.embedder.MavenExecutionContext.execute(MavenExecutionContext.java:99)at org.eclipse.m2e.core.internal.embedder.MavenImpl.execute(MavenImpl.java:1351)at org.eclipse.m2e.core.internal.project.ProjectConfigurationManager.updateProjectConfiguration(ProjectConfigurationManager.java:349)at org.eclipse.m2e.core.ui.internal.UpdateMavenProjectJob.runInWorkspace(UpdateMavenProjectJob.java:77)at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Failure to transfer antlr:antlr:pom:2.7.7 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact antlr:antlr:pom:2.7.7 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:246)at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifact(DefaultArtifactResolver.java:223)at org.apache.maven.repository.internal.DefaultArtifactDescriptorReader.loadPom(DefaultArtifactDescriptorReader.java:267)... 41 moreCaused by: org.eclipse.aether.transfer.ArtifactTransferException: Failure to transfer antlr:antlr:pom:2.7.7 from https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced. Original error: Could not transfer artifact antlr:antlr:pom:2.7.7 from/to central (https://repo.maven.apache.org/maven2): The operation was cancelled.at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:238)at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206)at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:585)at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:503)at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:421)... 44 morepom.xml /antMall line 1 Maven Dependency Problem이 에러들이 전부 pom.xml에 jpa 추가하는 부분만 없애면 다 사라지거던요 ..이유를 좀 알수잇을까요
-
미해결홍정모의 게임 만들기 연습 문제 패키지
게임 실행속도 관련 질문입니다 ^^
선생님 안녕하세요~ 우선 게임만들기 패키지 전부 재미있게 수강하였고,과제도 전부 수행하였습니다 ^^ 많이 배운 것 같습니다. 좋은 강의 감사합니다. ^^한가지 해결하지 못한 문제가 있는데, 게임 실행시에 규칙적으로 중간중간 속도가 느려지는현상이 발생합니다. 코드의 문제인지 여러가지를 시도해봤는데,, 이러한 문제는 "Game2D("This is my digital canvas!", 1024, 768, false, 2)에서 "true"로 콘솔을 전체하면으로 바꾸고 ,dt값을 좀 빠르게 하여 실행하면 중간중간 느려지는 현상이 사라지더군요..(아니면 전체 속도가 빨라져서 느려지는 현상을 제가 느끼지 못한건지도...)보통 이렇게 속도가 일정하지 않는 현상은 왜 발생하고, 어떤 레퍼런스를 참고하여 문제를해결 할 수 있을까요?? 궁금합니다!!
-
미해결홍정모의 따라하며 배우는 C++
맥북으로 강의를 따라가고 있습니다.
xcode 를 사용해 프로젝트를 생성했는데, xcode에는 "솔루션 > 프로젝트" 개념 없이 프로젝트 하나 단위로만 생성하고 오픈 가능한거 같은데 이대로 강좌를 계속 진행해 나가도 괜찮을까요?또한 VS2017의 release 빌드가 xcode 의 archive 와 동일한것인지 궁금합니다.
-
미해결스프링 기반 REST API 개발
본 강의에서 참조하신 index.adoc 의 영어 원본 샘플 있는 URL 을 알고 싶습니다
/asciidoc/index.adoc 의 참조하신 영어 원문이 있는 곳을 알았으면 좋겠습니다. 영어로 index.adoc 을 생성할 때, 도움이 될 것 같습니다.
-
미해결실전 JSP (renew ver.) - 신입 프로그래머를 위한 강좌
jsp Session 강좌 중에서…….
서블릿에서 response.sendRedirect("loginOk.jsp"); 이렇게 했는데.. login.jsp에서 submit하면 자꾸... loginCon으로 넘어갑니다 ..loginOk.jsp 파일명도 같구요.. 왜그런지 모르겠어요 .............................. ㅠㅠ 원인을 모르겠습니다.........
-
미해결스프링 웹 MVC
컨텍스트 질문
web.xml에서 루트 컨텍스트와 서블릿 컨텍스트 간의 부모 자식관계를 설정하지 않았는데도, 어떻게 디스패처 서블릿에서 루트 컨텍스트의 빈을 찾을 수 있는건가요?
-
해결됨게임으로 배우는 JavaScript
Chapter 1 의 3강 Path 설정 강의가 열리지 않습니다
Chapter 1 의 3강 Path 설정 강의가 열리지 않습니다. 아래 에러가 표시되고 있습니다.오류가 발생했습니다. 나중에 다시 시도해 주세요. 재생 ID는 R_TGvXqRgEwS0D5q입니다.자세히 알아보기
-
미해결실습 UI 개발로 배워보는 순수 javascript 와 VueJS 개발
안녕하세요 메소드의 인자관련하여 질문이 있습니다.
폴더구조 부분 듣다 질문이 있어 글을 남기게되었습니다. HistroyModel.js 에 보면 1. add( keyword=''){...} 는 매개변수가 안넘어왔을 때 초기 값을 설정해주는 것으로 보입니다. 다만 바로 아래줄에 keyword.trim()를 사용하셨는데 add의 매개변수로 초기 값을 잡지 않고 if(!keyword) return 아래에 코드를 작성하는 방식에 대해서는 어떻게 생각하시나요? 지금과 같은 경우에는 add(null)을 넘겨주었을 때 Cannot read property 'trim' of null 에러가 발생합니다. null이 넘어올 일이 없다고 봐야할까요? 매개변수에 초기값을 설정해두는 부분이 의미하는 바가 궁금합니다. this.data = [{keyword, date}, ...this.data] 관련하여 data.push({keyword,date}) 이것의 차이가 있을까요? 어떤 이점이 별도로 있는 부분인지 궁금합니다.
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
submit 이 안됩니다 (baseball_game.py)
baseball_game.py 가 terminal 에서 python3 baseball_game.py 를 입력하면 정상작동합니다. 그런데 막상 제출하려고 하니 이런 에러가 계속 뜨네요...terminal 에서 정상작동되는걸 보면 문제가 없는 것처럼 보이는데 왜 계속 에러가 뜬느지 모르겠네요.pip3 install --upgrade backend.ai를 하고 나서 제출하려 해봐도 안됩니다. 어떻게 해야하는지 조언 부탁드립니다. linux_mac ./submit.sh bnbf147593∙ Session token prefix: cd17c26969∙ In the legacy mode, all cases will run serially!Traceback (most recent call last):File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 400, in _run_legacytag=tag)File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/base.py", line 21, in _methodreturn cls.session.worker_thread.execute(coro)File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/session.py", line 64, in executeraise resultFile "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/session.py", line 48, in runresult = loop.run_until_complete(coro)File "/usr/lib/python3.6/asyncio/base_events.py", line 473, in run_until_completereturn future.result()File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/kernel.py", line 107, in get_or_createasync with rqst.fetch() as resp:File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/request.py", line 391, in aenterraise BackendAPIError(raw_resp.status, raw_resp.reason, msg)ai.backend.client.exceptions.BackendAPIError: BackendAPIError(500, 'Internal Server Error', {'type': 'https://api.backend.ai/probs/kernel-creation-failed', 'title': 'Kernel creation has failed.', 'agent-details': {'type': 'https://api.backend.ai/probs/agent-timeout', 'title': None}})During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/home/wonsong94/.local/bin/backend.ai", line 11, in sys.exit(main())File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 764, in callreturn self.main(args, kwargs)File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 717, in mainrv = self.invoke(ctx)File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 1137, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 956, in invokereturn ctx.invoke(self.callback, ctx.params)File "/home/wonsong94/.local/lib/python3.6/site-packages/click/core.py", line 555, in invokereturn callback(args, **kwargs)File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 610, in run_run_cases_legacy()File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 574, in _run_cases_legacyclean_cmd, build_cmd, exec_cmd)File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/run.py", line 402, in _run_legacyprint_error(e)File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/pretty.py", line 141, in print_errortext = ''.join(format_error(exc))File "/home/wonsong94/.local/lib/python3.6/site-packages/ai/backend/client/cli/pretty.py", line 122, in format_erroryield 'nu279c ' + agent_details['title']TypeError: must be str, not NoneType
-
미해결자바 스프링 프레임워크(renew ver.) - 신입 프로그래머를 위한 강좌
싱글톤 패턴 질문드립니다.
예제를 보면 injectionBean이 dependenctBean의 생성자, setter로 들어가게 되는데,비교를 equals로 진행하고 있습니다.제가 알기로는 자바의 equals는 클래스의 내용을 비교하고 ==는 주솟값을 비교하는걸로 알고있는데요.dependencyBean에 파라메터로 들어가는 injectionBean은 컨테이너 내부에 있는(메모리에 이미 올라가 있는) 빈이 들어가는거로 생각해서 dependencyBean을 prototype으로 지정하더라도 equals를 하면 true가 나올거라 생각했는데 아니더라구요.왜 이런 결과가 나오는지 이해가 잘 안돼서 설명해 주시면 감사드리겠습니다 ㅜㅜ
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
과제 제출하려고 하면 오류가 납니다.
안녕하세요. 과제 제출하려고 하는데 계속 오류가 나서 질문 남깁니다.다른 분이 질문해주셨던데 저도 bash submit.sh key 로 과제 제출하려고 하면 아래와 같이 뜹니다.다른 분 질문에 답변 주신 것처럼 uninstall 하고 pip install -U "backend.ai-client~=1.5.0"로 다시 install하고 bash install.sh했는데도 여전히 submit.sh를 하면 아래와 같이 나옵니다.해결 방법 알려주시면 감사하겠습니다~∙ Session token prefix: 9f5562d0b9∙ In the legacy mode, all cases will run serially!Traceback (most recent call last):File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/run.py", line 400, in _run_legacytag=tag)File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/base.py", line 21, in _methodreturn cls.session.worker_thread.execute(coro)File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/session.py", line 64, in executeraise resultFile "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/session.py", line 48, in runresult = loop.run_until_complete(coro)File "/Users/lea/miniconda3/lib/python3.7/asyncio/base_events.py", line 573, in run_until_completereturn future.result()File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/kernel.py", line 107, in get_or_createasync with rqst.fetch() as resp:File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/request.py", line 391, in aenterraise BackendAPIError(raw_resp.status, raw_resp.reason, msg)ai.backend.client.exceptions.BackendAPIError: BackendAPIError(500, 'Internal Server Error', {'type': 'https://api.backend.ai/probs/kernel-creation-failed', 'title': 'Kernel creation has failed.', 'agent-details': {'type': 'https://api.backend.ai/probs/agent-timeout', 'title': None}})During handling of the above exception, another exception occurred:Traceback (most recent call last):File "/Users/lea/miniconda3/bin/backend.ai", line 11, in sys.exit(main())File "/Users/lea/miniconda3/lib/python3.7/site-packages/click/core.py", line 764, in callreturn self.main(args, kwargs)File "/Users/lea/miniconda3/lib/python3.7/site-packages/click/core.py", line 717, in mainrv = self.invoke(ctx)File "/Users/lea/miniconda3/lib/python3.7/site-packages/click/core.py", line 1137, in invokereturn _process_result(sub_ctx.command.invoke(sub_ctx))File "/Users/lea/miniconda3/lib/python3.7/site-packages/click/core.py", line 956, in invokereturn ctx.invoke(self.callback, ctx.params)File "/Users/lea/miniconda3/lib/python3.7/site-packages/click/core.py", line 555, in invokereturn callback(args, **kwargs)File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/run.py", line 610, in run_run_cases_legacy()File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/run.py", line 574, in _run_cases_legacyclean_cmd, build_cmd, exec_cmd)File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/run.py", line 402, in _run_legacyprint_error(e)File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/pretty.py", line 141, in print_errortext = ''.join(format_error(exc))File "/Users/lea/miniconda3/lib/python3.7/site-packages/ai/backend/client/cli/pretty.py", line 122, in format_erroryield 'nu279c ' + agent_details['title']TypeError: can only concatenate str (not "NoneType") to str
-
미해결WEB2 - Node.js
console.log
console.log 해서 cmd에서 확인하는데, 오류는 안나고 console.log도 실행이 안되네요..:(원인이 뭘가요?동영상이랑 똑같이 하고 싶은데.. 뭔가 오류안나고 제대로 실행되가지고 ..확인 부탁드립니다!!
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
에러발생
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: 'C:\Program Files (x86)\miniconda\Lib\site-packages\namedlist.py'Consider using the --user option or check the permissions. 이라는 에러가 도중에 뜨는데 어떻게 해결해야 하나요?ㅠㅠ
-
해결됨선형대수학개론
책 문의
3/ED는 구매하기가 어렵습니다. 5/ED와 차이가 많은가요.5/ED를 가지고 학습해도 되나요.3/ED를 구할수 있는지요.
-
미해결스프링 부트 개념과 활용
정적 페이지를 고칠 때마다 서버를 재시작 해야하나요?
400.html를 404.html로 수정하면서 재시작를 하시더라고요.예전에 JSP에서는 안에 있는 내용이 추가 되거나 파일명이 변경되면 런타임에 반영이 되거든요.정적콘텐츠가 수정될 때마다 서버를 재시작하는 건 너무 비효율적인것 같습니다.좋은 방법이 없을까요?
-
미해결자바 프로그래밍 입문 강좌 (renew ver.) - 초보부터 개발자 취업까지!!
자전거 예에 대한 질문
자전거 속성에 대해서 질문이 있는데요.자전거 속성에 안장, 핸들 이런 자전거의 구성품으로 빗대어 설명을 해주셨는데자전거의 구성품은 객체라고 생각이 들거든요.제가 생각하는 자전거의 속성은가격이나 무게, 자전거유형(선수용, 일반용 등), 그리고 자전거색상이라던지자전거의 특성을 나타낼 수 있는 부분을 속성으로 정의한다고 생각합니다.이 부분에 대한 설명 부탁드릴께요.강의 만들어주셔서 감사합니다.
-
미해결홍정모의 따라하며 배우는 C++
강의 종료시점에 나오는 프로그램 만들기에 대해서
프로그램 만들기를 IF조건문으로 만드는 연습을 하라는건지아니면 다른 방식으로 하는 건지 잘 파악이 되지 않아일단 if문으로 연습해보았습니다.int main(){using namespace std;cout << "1~10 중 숫자 하나를 입력하십시오" << endl; int a = 0; cin >> a;if (a == 1){cout << "it is 홀수" << endl;} else if(a == 3) { cout << "it is 홀수" << endl; } else if(a == 5) { cout << "it is 홀수" << endl; } else if(a == 7) { cout << "it is 홀수" << endl; } else if(a == 9) { cout << "it is 홀수" << endl; } else if(a == 2) { cout << "it is 짝수" << endl; } else if(a == 4) { cout << "it is 짝수" << endl; } else if(a == 6) { cout << "it is 짝수" << endl; } else if(a == 8) { cout << "it is 짝수" << endl; } else if(a == 10) { cout << "it is 짝수" << endl; }elsecout << "1~10 중 숫자 하나를 입력하십시오" << endl;return 0;}혹시 다른 방식으로 제작해야하는건지 제출 의도와 다르다면 가르쳐주십시요!
-
미해결파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
atom과 jupyter notboook 결과가 다르네요
fp =''' 안주 및 주류 닭도리탕 돈까스 삼겹살 스테이크 소주 맥주 막걸리 양주 동동주 '''atom에서 실행하면,print("1",soup.select_one("li:nth-of-type(1)").string) #-> 결과값 닭도리탕print("2",soup.select_one("li:nth-of-type(2)").string) #->돈까스print("3",soup.select_one("li:nth-of-type(3)").string) #->삼겹살print("4",soup.select_one("li:nth-of-type(4)").string) #->스테이크print("5",soup.select_one("li:nth-of-type(5)").string) #->동동주print("6",soup.select_one("li:nth-of-type(6)")) #->Noneprint("7",soup.select_one("li:nth-of-type(7)")) #->Nonejupyter notemook에서 실행하면,선생님께서 가르쳐주신 것처럼 순서대로 나옵니다.코드가 서로 다른 것도 아니고..그대로 복사 붙여넣기 한건데 다르게 결과값이 나올 수 있나요..?